Avoid using mcMMO.p when we can

This commit is contained in:
GJ
2012-06-05 10:31:10 -04:00
parent fd1227b87e
commit c97be335ee
3 changed files with 15 additions and 4 deletions

View File

@@ -351,7 +351,7 @@ public class mcMMO extends JavaPlugin {
}
if (configInstance.getCommandmcMMOEnabled()) {
getCommand("mcmmo").setExecutor(new McmmoCommand());
getCommand("mcmmo").setExecutor(new McmmoCommand(this));
}
if (configInstance.getCommandMCRefreshEnabled()) {
@@ -416,7 +416,7 @@ public class mcMMO extends JavaPlugin {
//Spout commands
if (configInstance.getCommandXPLockEnabled()) {
getCommand("xplock").setExecutor(new XplockCommand());
getCommand("xplock").setExecutor(new XplockCommand(this));
}
getCommand("mchud").setExecutor(new MchudCommand(this));