diff options
-rw-r--r-- | Spigot-Server-Patches/0368-MC-54026-Backport-1.13-client-desync-fix-on-fast-too.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Spigot-Server-Patches/0368-MC-54026-Backport-1.13-client-desync-fix-on-fast-too.patch b/Spigot-Server-Patches/0368-MC-54026-Backport-1.13-client-desync-fix-on-fast-too.patch new file mode 100644 index 0000000000..b1e81289e8 --- /dev/null +++ b/Spigot-Server-Patches/0368-MC-54026-Backport-1.13-client-desync-fix-on-fast-too.patch @@ -0,0 +1,21 @@ +From 4b22585d7ede957b7b5cb95fe4c708fd49c61453 Mon Sep 17 00:00:00 2001 +From: Aikar <[email protected]> +Date: Fri, 12 Oct 2018 22:41:29 -0400 +Subject: [PATCH] MC-54026: Backport 1.13 client desync fix on fast tools + + +diff --git a/src/main/java/net/minecraft/server/PlayerInteractManager.java b/src/main/java/net/minecraft/server/PlayerInteractManager.java +index fcb64666e3..3d86798248 100644 +--- a/src/main/java/net/minecraft/server/PlayerInteractManager.java ++++ b/src/main/java/net/minecraft/server/PlayerInteractManager.java +@@ -197,6 +197,7 @@ public class PlayerInteractManager { + int i = (int) (f * 10.0F); + + this.world.c(this.player.getId(), blockposition, i); ++ this.player.playerConnection.sendPacket(new PacketPlayOutBlockChange(world, blockposition)); // Paper - MC-54026 - backport from 1.13 + this.k = i; + } + +-- +2.19.1 + |