- Fixed bug when creating a shop locked by LWC/Lockette

This commit is contained in:
Acrobot 2011-08-15 11:46:01 +02:00
parent c64627205e
commit 77bbf5de00
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ public class pluginEnable extends ServerListener {
if (!methods.hasMethod()) {
if (methods.setMethod(event.getPlugin())) {
Economy.economy = methods.getMethod();
System.out.println("[ChestShop] " + Economy.economy.getName() + ' ' + Economy.economy.getVersion() + " loaded.");
System.out.println(lineStart + Economy.economy.getName() + ' ' + Economy.economy.getVersion() + " loaded.");
}
}

View File

@ -103,7 +103,7 @@ public class signChange extends BlockListener {
}
Block chestBlock = chest.getBlock();
boolean canAccess = !Security.isProtected(chestBlock) || !Security.canAccess(player, chestBlock);
boolean canAccess = !Security.isProtected(chestBlock) || Security.canAccess(player, chestBlock);
if (!(Security.protection instanceof Default) && canAccess) {
Default protection = new Default();

View File

@ -2,7 +2,7 @@ name: ChestShop
main: com.Acrobot.ChestShop.ChestShop
version: 3.00
version: 3.01
author: Acrobot