mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
Fix typo in /kickall
This commit is contained in:
parent
2806156cf4
commit
634d62f9ef
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ public class Commandkickall extends EssentialsCommand {
|
|||
|
||||
for (Player onlinePlayer : ess.getOnlinePlayers()) {
|
||||
if (!sender.isPlayer() || !onlinePlayer.getName().equalsIgnoreCase(sender.getPlayer().getName())) {
|
||||
if (!ess.getUser(onlinePlayer).isAuthorized("!essentials.kickall.exempt")) {
|
||||
if (!ess.getUser(onlinePlayer).isAuthorized("essentials.kickall.exempt")) {
|
||||
onlinePlayer.kickPlayer(kickReason);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue