mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-26 18:11:52 +01:00
Fix typo in /kickall
This commit is contained in:
parent
2806156cf4
commit
634d62f9ef
@ -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 New Issue
Block a user