diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandkickall.java b/Essentials/src/com/earth2me/essentials/commands/Commandkickall.java index 5c96af2c2..614d434d0 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandkickall.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandkickall.java @@ -20,7 +20,9 @@ public class Commandkickall extends EssentialsCommand { for (Player onlinePlayer : ess.getOnlinePlayers()) { if (!sender.isPlayer() || !onlinePlayer.getName().equalsIgnoreCase(sender.getPlayer().getName())) { - onlinePlayer.kickPlayer(kickReason); + if (!ess.getUser(onlinePlayer).isAuthorized("!essentials.kickall.exempt")) { + onlinePlayer.kickPlayer(kickReason); + } } } sender.sendMessage(tl("kickedAll"));