Allow pistons to be protected in wilderness.

This commit is contained in:
bloodshot 2020-05-07 03:27:31 -04:00
parent 67e5641d40
commit 53176a7f90
1 changed files with 0 additions and 3 deletions

View File

@ -152,9 +152,6 @@ public class BlockEventHandler implements Listener {
// Sticky pistons will attach to next block so we need to check it
location = BlockUtil.getInstance().getBlockRelative(location, event.getDirection());
targetClaim = this.storage.getClaimAt(location, targetClaim);
if (targetClaim.isWilderness()) {
return;
}
}
if (handleBlockBreak(event, location, targetClaim, event.getBlock(), location.getBlock(), user, false)) {