Removed ban permission check on kickall command

This commit is contained in:
Fabrizio La Rosa 2020-07-04 10:48:40 +02:00
parent 35b98f5c3b
commit 20ef7b95e5

View File

@ -50,8 +50,7 @@ public class KickAllCommand extends SubCommand {
Player targetPlayer = Bukkit.getServer().getPlayer(islandVisitorList);
if (targetPlayer != null &&
(targetPlayer.hasPermission("fabledskyblock.bypass.ban") ||
targetPlayer.hasPermission("fabledskyblock.bypass.kick")))
(targetPlayer.hasPermission("fabledskyblock.bypass.kick")))
continue;
IslandKickEvent islandKickEvent = new IslandKickEvent(island.getAPIWrapper(),