mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-23 18:45:31 +01:00
Merge branch '1.12' into 1.13
This commit is contained in:
commit
26d800132c
@ -102,8 +102,10 @@ public class PlayerInteract implements Listener {
|
||||
return;
|
||||
}
|
||||
|
||||
if (canAccess) {
|
||||
if (!Properties.ALLOW_SIGN_CHEST_OPEN || player.isSneaking() || player.isInsideVehicle() || player.getGameMode() == GameMode.CREATIVE) {
|
||||
if (canAccess && !ChestShopSign.isAdminShop(sign)) {
|
||||
if (!Properties.ALLOW_SIGN_CHEST_OPEN
|
||||
|| player.isSneaking() || player.isInsideVehicle()
|
||||
|| (Properties.IGNORE_CREATIVE_MODE && player.getGameMode() == GameMode.CREATIVE)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user