Fixes missing upstream
This commit is contained in:
@@ -914,6 +914,7 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable {
|
|||||||
double d3 = d0 * d0 + d1 * d1 + d2 * d2;
|
double d3 = d0 * d0 + d1 * d1 + d2 * d2;
|
||||||
|
|
||||||
if (d3 > 36.0D) {
|
if (d3 > 36.0D) {
|
||||||
|
if (worldserver.isChunkLoaded(blockposition.getX() >> 4, blockposition.getZ() >> 4, true)) // Paper - Fix block break desync - Don't send for unloaded chunks
|
||||||
this.sendPacket(new PacketPlayOutBlockChange(worldserver, blockposition)); // Paper - Fix block break desync
|
this.sendPacket(new PacketPlayOutBlockChange(worldserver, blockposition)); // Paper - Fix block break desync
|
||||||
return;
|
return;
|
||||||
} else if (blockposition.getY() >= this.minecraftServer.getMaxBuildHeight()) {
|
} else if (blockposition.getY() >= this.minecraftServer.getMaxBuildHeight()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user