diff options
author | Samir <[email protected]> | 2023-06-21 09:36:14 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2023-06-21 14:36:14 +0100 |
commit | b1696788d61ddc338bd2e61fac3b43ff60c432e1 (patch) | |
tree | a9e3a0f35e19cb575df155985318d9cdc70fdf18 /patches/server/0281-Don-t-allow-digging-into-unloaded-chunks.patch | |
parent | c613877e54c3b57f919ffb5a52426f6800b4af39 (diff) | |
download | Paper-b1696788d61ddc338bd2e61fac3b43ff60c432e1.tar.gz Paper-b1696788d61ddc338bd2e61fac3b43ff60c432e1.zip |
ratelimited packet is logged to console on kick (#9292)
Diffstat (limited to 'patches/server/0281-Don-t-allow-digging-into-unloaded-chunks.patch')
-rw-r--r-- | patches/server/0281-Don-t-allow-digging-into-unloaded-chunks.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0281-Don-t-allow-digging-into-unloaded-chunks.patch b/patches/server/0281-Don-t-allow-digging-into-unloaded-chunks.patch index b9c715a0a6..eeb9c9ec60 100644 --- a/patches/server/0281-Don-t-allow-digging-into-unloaded-chunks.patch +++ b/patches/server/0281-Don-t-allow-digging-into-unloaded-chunks.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Don't allow digging into unloaded chunks diff --git a/src/main/java/net/minecraft/server/level/ServerPlayerGameMode.java b/src/main/java/net/minecraft/server/level/ServerPlayerGameMode.java -index 0d72be376615f84934b031243ef283b6efc0bd13..562534d15f6f70ff286be90fb512b807e00ad807 100644 +index 7c1502fba55155020e9ebcf9fe13c0db55382244..fc1f55e53d9c8f1a5711f4062eb3ba343f3f7438 100644 --- a/src/main/java/net/minecraft/server/level/ServerPlayerGameMode.java +++ b/src/main/java/net/minecraft/server/level/ServerPlayerGameMode.java @@ -119,8 +119,8 @@ public class ServerPlayerGameMode { @@ -59,7 +59,7 @@ index 0d72be376615f84934b031243ef283b6efc0bd13..562534d15f6f70ff286be90fb512b807 this.level.destroyBlockProgress(this.player.getId(), pos, -1); diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index 6da3c9d0947c022e5565302221db0d3d71f8ddcd..e6e34e5464c77dc9d349865690fa15bab0252aef 100644 +index 841b35cfbb3a8bfefef411af87d37c48baabd432..3a49d929f506c74041b5b5286ea9b532f5ae2c17 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java @@ -1662,6 +1662,12 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic |