From 75654e8db5b97497f6285266a1116a536d80720c Mon Sep 17 00:00:00 2001 From: Taylor Kelly Date: Mon, 10 Jan 2011 21:05:45 -0500 Subject: [PATCH] Fixed BROKEN spamming --- src/main/java/net/minecraft/server/NetServerHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index eb8958b855..a0c5c1dd2c 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) {