Merge pull request #318 from mastershake71/master

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

View File

@ -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 {