mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-02-03 12:01:22 +01:00
Fix possible dupe
This commit is contained in:
parent
bca38b8a79
commit
b1111798ad
@ -77,7 +77,7 @@ public class PlayerInteract implements Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ChestShopSign.canAccess(player, sign)) {
|
if (ChestShopSign.canAccess(player, sign)) {
|
||||||
if (!Properties.ALLOW_SIGN_CHEST_OPEN || player.isSneaking() || player.getGameMode() == GameMode.CREATIVE) {
|
if (!Properties.ALLOW_SIGN_CHEST_OPEN || player.isSneaking() || player.isInsideVehicle() || player.getGameMode() == GameMode.CREATIVE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user