From f4a572ba69d39a667dd1d2c1b3b56a001b0f0ff8 Mon Sep 17 00:00:00 2001 From: Daniel Saukel Date: Tue, 27 Dec 2016 00:49:17 +0100 Subject: [PATCH] Kick command fixes --- .../java/io/github/dre2n/dungeonsxl/command/KickCommand.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/io/github/dre2n/dungeonsxl/command/KickCommand.java b/core/src/main/java/io/github/dre2n/dungeonsxl/command/KickCommand.java index 53e9256e..5bcfadb5 100644 --- a/core/src/main/java/io/github/dre2n/dungeonsxl/command/KickCommand.java +++ b/core/src/main/java/io/github/dre2n/dungeonsxl/command/KickCommand.java @@ -38,8 +38,9 @@ public class KickCommand extends BRCommand { setMinArgs(1); setMaxArgs(1); setHelp(DMessages.HELP_CMD_KICK.getMessage()); - setPermission(DPermissions.LEAVE.getNode()); + setPermission(DPermissions.KICK.getNode()); setPlayerCommand(true); + setConsoleCommand(true); } @Override