More compile fixed

This commit is contained in:
Nassim Jahnke 2022-07-28 00:10:27 +02:00
parent 063e6b288c
commit cb6f029de9
No known key found for this signature in database
GPG key ID: 6BE3B555EBC5982B
34 changed files with 113 additions and 110 deletions

View file

@ -5,10 +5,10 @@ Subject: [PATCH] ProfileWhitelistVerifyEvent
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
index 2e583b600e7a7ef94639a27ce719effcf0b9e141..2b633053c56098c4046abe17c23ee2cb76e84887 100644
index 258eee0f5310224b089895745ff11e482fc36dca..29f761432be28b5089caab9338b3bff41f4f8f07 100644
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
@@ -623,9 +623,9 @@ public abstract class PlayerList {
@@ -620,9 +620,9 @@ public abstract class PlayerList {
// return chatmessage;
event.disallow(PlayerLoginEvent.Result.KICK_BANNED, PaperAdventure.asAdventure(ichatmutablecomponent)); // Paper - Adventure
@ -21,7 +21,7 @@ index 2e583b600e7a7ef94639a27ce719effcf0b9e141..2b633053c56098c4046abe17c23ee2cb
} else if (this.getIpBans().isBanned(socketaddress) && !this.getIpBans().get(socketaddress).hasExpired()) {
IpBanListEntry ipbanentry = this.ipBans.get(socketaddress);
@@ -1007,7 +1007,23 @@ public abstract class PlayerList {
@@ -1004,7 +1004,23 @@ public abstract class PlayerList {
}
public boolean isWhiteListed(GameProfile profile) {