Stop fire affecting teammates

This commit is contained in:
Sam 2018-01-22 17:41:29 +00:00 committed by Alexander Meech
parent d267c15845
commit 5668a8f7d1

View File

@ -11,6 +11,8 @@ import mineplex.core.common.util.UtilParticle.ViewDist;
import mineplex.core.common.util.UtilPlayer; import mineplex.core.common.util.UtilPlayer;
import mineplex.core.recharge.Recharge; import mineplex.core.recharge.Recharge;
import nautilus.game.arcade.game.GameTeam;
public class PerkFireBurst extends SkywarsPerk public class PerkFireBurst extends SkywarsPerk
{ {
@ -41,7 +43,7 @@ public class PerkFireBurst extends SkywarsPerk
for (Player other : UtilPlayer.getNearby(location, _range, true)) for (Player other : UtilPlayer.getNearby(location, _range, true))
{ {
if (other.equals(player)) GameTeam team = Manager.GetGame().GetTeam(player);
{ {
continue; continue;
} }