2018-10-24 01:03:32 +02:00
|
|
|
From 120ded7b1d9144d338d1aa4b3d769dbe498f5f5e Mon Sep 17 00:00:00 2001
|
2018-10-18 04:53:08 +02:00
|
|
|
From: Aikar <aikar@aikar.co>
|
|
|
|
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
|
2018-10-24 01:03:32 +02:00
|
|
|
index fcb64666..3d867982 100644
|
2018-10-18 04:53:08 +02:00
|
|
|
--- 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
|
|
|
|
|