Fix possible dupe

This commit is contained in:
Acrobot 2013-07-13 23:14:23 +02:00
parent bca38b8a79
commit b1111798ad

View File

@ -77,7 +77,7 @@ public class PlayerInteract implements Listener {
}
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;
}