1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-06-20 16:01:26 +02:00

Merge pull request from mastershake71/master

Fixes Nuker Dupe
This commit is contained in:
Grant 2012-11-21 12:37:51 -08:00
commit 6b2adc9359

@ -121,7 +121,7 @@ public class Misc {
FakeBlockBreakEvent breakEvent = new FakeBlockBreakEvent(block, player);
pluginManger.callEvent(breakEvent);
if (!damageEvent.isCancelled() || !breakEvent.isCancelled()) {
if (!damageEvent.isCancelled() && !breakEvent.isCancelled()) {
return true;
}
else {