mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Speed up our BlockBreakEvent checks a bit.
This commit is contained in:
parent
dae25c2f2d
commit
52746fca76
@ -191,10 +191,8 @@ public class BlockListener implements Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Remove metadata from placed watched blocks */
|
/* Remove metadata from placed watched blocks */
|
||||||
if (mcMMO.placeStore.isTrue(blockState)) {
|
|
||||||
mcMMO.placeStore.setFalse(blockState);
|
mcMMO.placeStore.setFalse(blockState);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle BlockBreak events where the event is modified.
|
* Handle BlockBreak events where the event is modified.
|
||||||
|
Loading…
Reference in New Issue
Block a user