Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
22 Zeilen
902 B
Diff
22 Zeilen
902 B
Diff
From 120ded7b1d9144d338d1aa4b3d769dbe498f5f5e Mon Sep 17 00:00:00 2001
|
|
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
|
|
index fcb64666..3d867982 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
|
|
|