Stop fire affecting teammates
This commit is contained in:
parent
d267c15845
commit
5668a8f7d1
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user