From 5668a8f7d167e10a60083a8582a2f5bca90926f7 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 22 Jan 2018 17:41:29 +0000 Subject: [PATCH] Stop fire affecting teammates --- .../arcade/game/games/skywars/kits/perks/PerkFireBurst.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/skywars/kits/perks/PerkFireBurst.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/skywars/kits/perks/PerkFireBurst.java index 3273a2f25..398640228 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/skywars/kits/perks/PerkFireBurst.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/skywars/kits/perks/PerkFireBurst.java @@ -11,6 +11,8 @@ import mineplex.core.common.util.UtilParticle.ViewDist; import mineplex.core.common.util.UtilPlayer; import mineplex.core.recharge.Recharge; +import nautilus.game.arcade.game.GameTeam; + public class PerkFireBurst extends SkywarsPerk { @@ -41,7 +43,7 @@ public class PerkFireBurst extends SkywarsPerk for (Player other : UtilPlayer.getNearby(location, _range, true)) { - if (other.equals(player)) + GameTeam team = Manager.GetGame().GetTeam(player); { continue; }