aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0566-Fix-kick-event-leave-message-not-being-sent.patch
diff options
context:
space:
mode:
authorRiley Park <[email protected]>2024-07-21 03:42:04 -0700
committerRiley Park <[email protected]>2024-07-21 03:42:04 -0700
commit2a810b77f0ce62cd3be25b8850f61b448755ef6d (patch)
tree6b3c82b1909c678a3b1ce70ecf3e804ee63a989a /patches/server/0566-Fix-kick-event-leave-message-not-being-sent.patch
parentc250671fda4de965baec473519f38879a93b4524 (diff)
downloadPaper-2a810b77f0ce62cd3be25b8850f61b448755ef6d.tar.gz
Paper-2a810b77f0ce62cd3be25b8850f61b448755ef6d.zip
Diffstat (limited to 'patches/server/0566-Fix-kick-event-leave-message-not-being-sent.patch')
-rw-r--r--patches/server/0566-Fix-kick-event-leave-message-not-being-sent.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0566-Fix-kick-event-leave-message-not-being-sent.patch b/patches/server/0566-Fix-kick-event-leave-message-not-being-sent.patch
index 7b01621edd..4abbffc48b 100644
--- a/patches/server/0566-Fix-kick-event-leave-message-not-being-sent.patch
+++ b/patches/server/0566-Fix-kick-event-leave-message-not-being-sent.patch
@@ -55,7 +55,7 @@ index feb529adf2168025c785ab92d95a3246e73c0236..b43f87ff4b9853b5d4bbea5ff9686d64
MinecraftServer minecraftserver = this.server;
Connection networkmanager = this.connection;
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-index 0a5cad166e852888208125a80b5e2d5e7e9a3a82..dd728c297335581ad69c94f768ec5201b7879264 100644
+index 60e37011a6dcf9a2942b3e66016b00e64fcb309b..efa60d1b6e16e53e0d490f82aa53a126ff75024e 100644
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
@@ -1895,6 +1895,12 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
@@ -101,10 +101,10 @@ index 0a5cad166e852888208125a80b5e2d5e7e9a3a82..dd728c297335581ad69c94f768ec5201
this.server.getPlayerList().broadcastSystemMessage(PaperAdventure.asVanilla(quitMessage), false);
// Paper end
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
-index 0474b88416e0d016da38909196d32fe992b37d00..5b449dd681390eb7aee229a3b6366dcbb96ce2d7 100644
+index b4161803c5513927ae222027e5a49b6201c17659..68efe36118e95c84c469a92f069e1ec8624cbc14 100644
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
-@@ -561,6 +561,11 @@ public abstract class PlayerList {
+@@ -560,6 +560,11 @@ public abstract class PlayerList {
}
public net.kyori.adventure.text.Component remove(ServerPlayer entityplayer) { // CraftBukkit - return string // Paper - return Component