aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAikar <[email protected]>2018-10-17 22:53:08 -0400
committerAikar <[email protected]>2018-10-17 22:53:08 -0400
commitfce9e20719c53eaae1e974ab51bdf55ef650b455 (patch)
tree688f5a869d95107cbe925cb0377a168c7d48eed6
parentca8dc1b847136110048d89acad42ebbc2f56c4d2 (diff)
downloadPaper-fce9e20719c53eaae1e974ab51bdf55ef650b455.tar.gz
Paper-fce9e20719c53eaae1e974ab51bdf55ef650b455.zip
MC-54026: Backport 1.13 client desync fix on fast tools
-rw-r--r--Spigot-Server-Patches/0368-MC-54026-Backport-1.13-client-desync-fix-on-fast-too.patch21
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
+