mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-23 18:45:31 +01:00
One missing "!" can make a huge difference
This commit is contained in:
parent
996d199517
commit
7bdcce2826
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user