mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-26 12:05:43 +01:00
Fix TURN_OFF_SIGN_PROTECTION not working (Fixes #233)
This commit is contained in:
parent
742f838f09
commit
efe9ff7024
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user