mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-17 03:54:19 +02:00
Console should be able to kick everyone.
This commit is contained in:
@@ -24,7 +24,7 @@ public class Commandkick extends EssentialsCommand
|
||||
}
|
||||
|
||||
final User user = getPlayer(server, args, 0);
|
||||
if (user.isAuthorized("essentials.kick.exempt"))
|
||||
if (sender instanceof Player && user.isAuthorized("essentials.kick.exempt"))
|
||||
{
|
||||
throw new Exception(_("kickExempt"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user