mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-25 08:51:33 +01:00
Removed ban permission check on kickall command
This commit is contained in:
parent
35b98f5c3b
commit
20ef7b95e5
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user