summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/net/minecraft/server/NetServerHandler.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java
index eb8958b8..a0c5c1dd 100644
--- a/src/main/java/net/minecraft/server/NetServerHandler.java
+++ b/src/main/java/net/minecraft/server/NetServerHandler.java
@@ -327,6 +327,8 @@ public class NetServerHandler extends NetHandler
server.getPluginManager().callEvent(event);
if (!event.isCancelled()) {
e.c.a(l, i1, j1, k1);
+ } else {
+ e.c.d = 0; // Reset the amount of damage if stopping break.
}
}
} else if (packet14blockdig.e == 3) {