diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/smash/perks/chicken/PerkChickenRocket.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/smash/perks/chicken/PerkChickenRocket.java index 2625bf466..196503f61 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/smash/perks/chicken/PerkChickenRocket.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/smash/perks/chicken/PerkChickenRocket.java @@ -2,6 +2,7 @@ package nautilus.game.arcade.game.games.smash.perks.chicken; import java.util.HashSet; import java.util.Iterator; +import java.util.List; import java.util.Set; import org.bukkit.Color; @@ -35,6 +36,8 @@ import mineplex.core.common.util.UtilTime; import mineplex.core.recharge.Recharge; import mineplex.core.updater.UpdateType; import mineplex.core.updater.event.UpdateEvent; + +import nautilus.game.arcade.game.games.smash.TeamSuperSmash; import nautilus.game.arcade.game.games.smash.perks.SmashPerk; import nautilus.game.arcade.kit.perks.data.ChickenMissileData; @@ -141,6 +144,7 @@ public class PerkChickenRocket extends SmashPerk } else { + List team = TeamSuperSmash.getTeam(Manager, data.Player, true); // Hit Entity for (Entity ent : UtilEnt.getInRadius(data.Chicken.getLocation(), HIT_BOX_RADIUS).keySet()) { @@ -164,7 +168,7 @@ public class PerkChickenRocket extends SmashPerk continue; } - if(Manager.GetGame().GetTeam(data.Player).GetPlayers(true).contains(ent)) + if(team.contains(ent)) { continue; }