mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
commit
6b2adc9359
@ -121,7 +121,7 @@ public class Misc {
|
|||||||
FakeBlockBreakEvent breakEvent = new FakeBlockBreakEvent(block, player);
|
FakeBlockBreakEvent breakEvent = new FakeBlockBreakEvent(block, player);
|
||||||
pluginManger.callEvent(breakEvent);
|
pluginManger.callEvent(breakEvent);
|
||||||
|
|
||||||
if (!damageEvent.isCancelled() || !breakEvent.isCancelled()) {
|
if (!damageEvent.isCancelled() && !breakEvent.isCancelled()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user