diff options
author | Taylor Kelly <tkelly910@gmail.com> | 2011-01-10 21:05:45 -0500 |
---|---|---|
committer | Taylor Kelly <tkelly910@gmail.com> | 2011-01-10 21:05:45 -0500 |
commit | 75654e8db5b97497f6285266a1116a536d80720c (patch) | |
tree | f0dfbe604061c1f81d8d53fd471ffe96077b7171 /src/main/java | |
parent | dda7ca0059e91dff0cd2063f5410d0947167e7bd (diff) | |
download | craftbukkit-75654e8db5b97497f6285266a1116a536d80720c.tar craftbukkit-75654e8db5b97497f6285266a1116a536d80720c.tar.gz craftbukkit-75654e8db5b97497f6285266a1116a536d80720c.tar.lz craftbukkit-75654e8db5b97497f6285266a1116a536d80720c.tar.xz craftbukkit-75654e8db5b97497f6285266a1116a536d80720c.zip |
Fixed BROKEN spamming
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/net/minecraft/server/NetServerHandler.java | 2 |
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) { |