Kick command fixes

This commit is contained in:
Daniel Saukel 2016-12-27 00:49:17 +01:00
parent a3a376e8af
commit f4a572ba69

View File

@ -38,8 +38,9 @@ public class KickCommand extends BRCommand {
setMinArgs(1); setMinArgs(1);
setMaxArgs(1); setMaxArgs(1);
setHelp(DMessages.HELP_CMD_KICK.getMessage()); setHelp(DMessages.HELP_CMD_KICK.getMessage());
setPermission(DPermissions.LEAVE.getNode()); setPermission(DPermissions.KICK.getNode());
setPlayerCommand(true); setPlayerCommand(true);
setConsoleCommand(true);
} }
@Override @Override