aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0143-ProfileWhitelistVerifyEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0143-ProfileWhitelistVerifyEvent.patch')
-rw-r--r--patches/server/0143-ProfileWhitelistVerifyEvent.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0143-ProfileWhitelistVerifyEvent.patch b/patches/server/0143-ProfileWhitelistVerifyEvent.patch
index b792b6feaf..759f285156 100644
--- a/patches/server/0143-ProfileWhitelistVerifyEvent.patch
+++ b/patches/server/0143-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 db4480778e4b917a073c61f29cd45663ed859597..7552d1b9e6c286daaa6b094af0fdebc2b300272a 100644
+index e35e202d49f01c0c97b8c3e41a14254cbd4f2c49..d2002567e10883bcf61a2036cea1b598aacc00da 100644
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
-@@ -631,9 +631,9 @@ public abstract class PlayerList {
+@@ -632,9 +632,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 db4480778e4b917a073c61f29cd45663ed859597..7552d1b9e6c286daaa6b094af0fdebc2
} else if (this.getIpBans().isBanned(socketaddress) && !this.getIpBans().get(socketaddress).hasExpired()) {
IpBanListEntry ipbanentry = this.ipBans.get(socketaddress);
-@@ -1024,7 +1024,23 @@ public abstract class PlayerList {
+@@ -1025,7 +1025,23 @@ public abstract class PlayerList {
}
public boolean isWhiteListed(GameProfile profile) {