Thanks git
This commit is contained in:
parent
5668a8f7d1
commit
c0dd95e085
|
@ -40,10 +40,11 @@ public class PerkFireBurst extends SkywarsPerk
|
||||||
}
|
}
|
||||||
|
|
||||||
Location location = player.getLocation().add(0, LOCATION_Y_MODIFIER, 0);
|
Location location = player.getLocation().add(0, LOCATION_Y_MODIFIER, 0);
|
||||||
|
GameTeam team = Manager.GetGame().GetTeam(player);
|
||||||
|
|
||||||
for (Player other : UtilPlayer.getNearby(location, _range, true))
|
for (Player other : UtilPlayer.getNearby(location, _range, true))
|
||||||
{
|
{
|
||||||
GameTeam team = Manager.GetGame().GetTeam(player);
|
if (other.equals(player) || team.HasPlayer(other))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue