diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkSkeletons.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkSkeletons.java index f93c07277..ae6cbde16 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkSkeletons.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkSkeletons.java @@ -169,14 +169,9 @@ public class PerkSkeletons extends Perk event.setCancelled(true); } - if (event.getTarget() instanceof Player) + if (!Manager.canHurt(player, (Player) event.getTarget())) { - Player target = (Player) event.getTarget(); - - if (Manager.GetGame().GetTeam(player) == Manager.GetGame().GetTeam(target)) - { - event.setCancelled(true); - } + event.setCancelled(true); } } }