aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0145-ProfileWhitelistVerifyEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0145-ProfileWhitelistVerifyEvent.patch')
-rw-r--r--patches/server/0145-ProfileWhitelistVerifyEvent.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0145-ProfileWhitelistVerifyEvent.patch b/patches/server/0145-ProfileWhitelistVerifyEvent.patch
index 69af001b9f..b2a7c7aea4 100644
--- a/patches/server/0145-ProfileWhitelistVerifyEvent.patch
+++ b/patches/server/0145-ProfileWhitelistVerifyEvent.patch
@@ -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 d5f17d7e3b56ca87ec9070b69265ce098de61f69..768a5c6ebc4466aae4108a79e1564b2bfc93463a 100644
+index 2e5c759a8c5e77f93f4b1fea4dbe9fc4fc7fe467..73b36f044ae7d6294a623df7620a1f7a016455f9 100644
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
-@@ -624,9 +624,9 @@ public abstract class PlayerList {
+@@ -623,9 +623,9 @@ public abstract class PlayerList {
// return chatmessage;
event.disallow(PlayerLoginEvent.Result.KICK_BANNED, io.papermc.paper.adventure.PaperAdventure.asAdventure(ichatmutablecomponent)); // Paper - Adventure
@@ -21,7 +21,7 @@ index d5f17d7e3b56ca87ec9070b69265ce098de61f69..768a5c6ebc4466aae4108a79e1564b2b
} else if (this.getIpBans().isBanned(socketaddress) && !this.getIpBans().get(socketaddress).hasExpired()) {
IpBanListEntry ipbanentry = this.ipBans.get(socketaddress);
-@@ -993,7 +993,24 @@ public abstract class PlayerList {
+@@ -992,7 +992,24 @@ public abstract class PlayerList {
}
public boolean isWhiteListed(GameProfile profile) {