diff options
author | Bjarne Koll <[email protected]> | 2024-10-24 19:29:35 +0200 |
---|---|---|
committer | Bjarne Koll <[email protected]> | 2024-10-24 19:29:35 +0200 |
commit | 9047541397bdc7dd65114c01de6994870971b851 (patch) | |
tree | 51d16e46d45fec824c357f787206c065e5d4c746 /patches/server/0364-Prevent-position-desync-causing-tp-exploit.patch | |
parent | fc0543071997267d28cf3c7c4c428d6762b78688 (diff) | |
download | Paper-9047541397bdc7dd65114c01de6994870971b851.tar.gz Paper-9047541397bdc7dd65114c01de6994870971b851.zip |
Upstream update
Diffstat (limited to 'patches/server/0364-Prevent-position-desync-causing-tp-exploit.patch')
-rw-r--r-- | patches/server/0364-Prevent-position-desync-causing-tp-exploit.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0364-Prevent-position-desync-causing-tp-exploit.patch b/patches/server/0364-Prevent-position-desync-causing-tp-exploit.patch index 9acb04239e..ebbd08637a 100644 --- a/patches/server/0364-Prevent-position-desync-causing-tp-exploit.patch +++ b/patches/server/0364-Prevent-position-desync-causing-tp-exploit.patch @@ -13,10 +13,10 @@ behaviour, we need to move all of this dangerous logic outside of the move call and into an appropriate place in the tick method. diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index 452fdd64669765d5dc73faa90d94bf474cbe1a07..4ac071f31583cd7fa0d80d8bbaddd3f5de8d648c 100644 +index 9286012c7a07e1a621035b0563cb06a3421ea945..f4f2b6733780312c289af96ec8ffe1fbf732651e 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -@@ -1351,6 +1351,11 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl +@@ -1359,6 +1359,11 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl this.player.move(MoverType.PLAYER, new Vec3(d6, d7, d8)); this.player.onGround = packet.isOnGround(); // CraftBukkit - SPIGOT-5810, SPIGOT-5835, SPIGOT-6828: reset by this.player.move |