mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
Fixed BROKEN spamming
This commit is contained in:
parent
dda7ca0059
commit
75654e8db5
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue