Fixed the inability for admins to create more than one sign on a chest

This commit is contained in:
Acrobot 2012-09-12 13:06:52 +02:00
parent d421581e89
commit 6707b1bd5e
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ public class SignChange implements Listener {
return; return;
} }
if (!Security.canAccess(player, connectedChest.getBlock())) { if (!isAdmin && !Security.canAccess(player, connectedChest.getBlock())) {
sendMessageAndExit(CANNOT_ACCESS_THE_CHEST, event); sendMessageAndExit(CANNOT_ACCESS_THE_CHEST, event);
return; return;
} }

View File

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