mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-06-25 22:04:44 +02:00
Fixed the inability for admins to create more than one sign on a chest
This commit is contained in:
parent
d421581e89
commit
6707b1bd5e
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user