Fix Permissions in Command System

This commit is contained in:
funkystudios committed 2014-01-23 16:20:38 -06:00
1 parent c1c4d689df
commit 32f7843da8
1 file changed
+2 -2
@@ -56,12 +56,12 @@ public class CommandHandler implements CommandExecutor {
}
for (CommandBase base : commands) {
if (base.getCommand().equalsIgnoreCase(command)) {
base.execute(cs, newArgs);
base.run(cs, newArgs);
}
}
} else {
// Send help
commands.get(0).execute(cs, null);
commands.get(0).run(cs, null);
}
return true;
}