Config overhaul part 3

This commit is contained in:
nossr50
2012-04-26 07:55:38 -07:00
parent 2f58e593e5
commit 945e5ca11c
3 changed files with 42 additions and 47 deletions

View File

@ -26,7 +26,7 @@ public class XplockCommand implements CommandExecutor {
return true;
}
if (!Config.spoutEnabled || !Config.xpbar || !Config.xplockEnable) {
if (!Config.spoutEnabled || !Config.xpbar || !Config.getCommandXPLockEnabled()) {
sender.sendMessage(mcLocale.getString("Commands.Disabled"));
return true;
}