mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-15 13:36:31 +00:00
Console should be able to kick everyone.
This commit is contained in:
parent
9e86681722
commit
7a6368a980
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ public class Commandkick extends EssentialsCommand
|
||||||
}
|
}
|
||||||
|
|
||||||
final User user = getPlayer(server, args, 0);
|
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"));
|
throw new Exception(_("kickExempt"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue