One missing "!" can make a huge difference

This commit is contained in:
Acrobot 2012-12-18 23:35:13 +01:00
parent 996d199517
commit 7bdcce2826
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public class ChestBreak implements Listener {
}
private static boolean canChestBeBroken(Block chest, Player breaker) {
if (chest.getType() != CHEST || !Properties.USE_BUILT_IN_PROTECTION || ChestShopSign.isShopChest(chest)) {
if (chest.getType() != CHEST || !Properties.USE_BUILT_IN_PROTECTION || !ChestShopSign.isShopChest(chest)) {
return true;
}

View File

@ -2,7 +2,7 @@ name: ChestShop
main: com.Acrobot.ChestShop.ChestShop
version: 3.50t0036
version: 3.50t0037
#for CButD
dev-url: http://dev.bukkit.org/server-mods/chestshop/