Fix TURN_OFF_SIGN_PROTECTION not working (Fixes #233)

This commit is contained in:
Phoenix616 2020-07-03 18:56:29 +01:00
parent 742f838f09
commit efe9ff7024
No known key found for this signature in database
GPG Key ID: 40E2321E71738EB0
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ public class PlayerInteract implements Listener {
if (action == RIGHT_CLICK_BLOCK) {
event.setCancelled(true);
} else if (action == LEFT_CLICK_BLOCK && !ChestShopSign.canAccess(player, sign)) {
} else if (action == LEFT_CLICK_BLOCK && !Properties.TURN_OFF_SIGN_PROTECTION && !ChestShopSign.canAccess(player, sign)) {
event.setCancelled(true);
}