mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
Fix MC-156852
This commit is contained in:
24
patches/server/0057-Fix-MC-156852.patch
Normal file
24
patches/server/0057-Fix-MC-156852.patch
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
From 363f7201e87caf5703dacc9c23187341f3898cfa Mon Sep 17 00:00:00 2001
|
||||||
|
From: TheGreatKetchup <TheGreatKetchup@users.noreply.github.com>
|
||||||
|
Date: Thu, 1 Aug 2019 21:24:30 -0400
|
||||||
|
Subject: [PATCH] Fix MC-156852
|
||||||
|
|
||||||
|
---
|
||||||
|
src/main/java/net/minecraft/server/PlayerInteractManager.java | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/main/java/net/minecraft/server/PlayerInteractManager.java b/src/main/java/net/minecraft/server/PlayerInteractManager.java
|
||||||
|
index e5e9de542..df8a6a7bd 100644
|
||||||
|
--- a/src/main/java/net/minecraft/server/PlayerInteractManager.java
|
||||||
|
+++ b/src/main/java/net/minecraft/server/PlayerInteractManager.java
|
||||||
|
@@ -218,6 +218,7 @@ public class PlayerInteractManager {
|
||||||
|
int j = (int) (f * 10.0F);
|
||||||
|
|
||||||
|
this.world.a(this.player.getId(), blockposition, j);
|
||||||
|
+ this.world.notify(blockposition, iblockdata, iblockdata, 0); // Purpur - fix MC-156852
|
||||||
|
this.player.playerConnection.sendPacket(new PacketPlayOutBlockBreak(blockposition, this.world.getType(blockposition), packetplayinblockdig_enumplayerdigtype, true));
|
||||||
|
this.l = j;
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.20.1
|
||||||
|
|
||||||
Reference in New Issue
Block a user