diff options
author | Riley Park <[email protected]> | 2024-07-21 03:42:04 -0700 |
---|---|---|
committer | Riley Park <[email protected]> | 2024-07-21 03:42:04 -0700 |
commit | 2a810b77f0ce62cd3be25b8850f61b448755ef6d (patch) | |
tree | 6b3c82b1909c678a3b1ce70ecf3e804ee63a989a /patches/server/0279-Limit-Client-Sign-length-more.patch | |
parent | c250671fda4de965baec473519f38879a93b4524 (diff) | |
download | Paper-2a810b77f0ce62cd3be25b8850f61b448755ef6d.tar.gz Paper-2a810b77f0ce62cd3be25b8850f61b448755ef6d.zip |
yeet, part 02feat/timings-removal
Diffstat (limited to 'patches/server/0279-Limit-Client-Sign-length-more.patch')
-rw-r--r-- | patches/server/0279-Limit-Client-Sign-length-more.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0279-Limit-Client-Sign-length-more.patch b/patches/server/0279-Limit-Client-Sign-length-more.patch index 20e898577a..51902ecf89 100644 --- a/patches/server/0279-Limit-Client-Sign-length-more.patch +++ b/patches/server/0279-Limit-Client-Sign-length-more.patch @@ -22,7 +22,7 @@ it only impacts data sent from the client. Set -DPaper.maxSignLength=XX to change limit or -1 to disable diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index 29678ddb0cb53fae9ae497614690f9d855f9eb86..86cb92b7cf18272ee4b46c292ed4a7192119ce1a 100644 +index 12ce3d0e35bbdf8407c210925ea4edc1395651da..36604b777bb8a32374358af05b873beb4cd081b2 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java @@ -299,6 +299,7 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl @@ -33,7 +33,7 @@ index 29678ddb0cb53fae9ae497614690f9d855f9eb86..86cb92b7cf18272ee4b46c292ed4a719 public ServerGamePacketListenerImpl(MinecraftServer server, Connection connection, ServerPlayer player, CommonListenerCookie clientData) { super(server, connection, clientData, player); // CraftBukkit -@@ -3151,7 +3152,19 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl +@@ -3147,7 +3148,19 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl @Override public void handleSignUpdate(ServerboundSignUpdatePacket packet) { |