Thanks git

This commit is contained in:
Sam 2018-01-22 17:41:40 +00:00 committed by Alexander Meech
parent 5668a8f7d1
commit c0dd95e085
1 changed files with 2 additions and 1 deletions

View File

@ -40,10 +40,11 @@ public class PerkFireBurst extends SkywarsPerk
}
Location location = player.getLocation().add(0, LOCATION_Y_MODIFIER, 0);
GameTeam team = Manager.GetGame().GetTeam(player);
for (Player other : UtilPlayer.getNearby(location, _range, true))
{
GameTeam team = Manager.GetGame().GetTeam(player);
if (other.equals(player) || team.HasPlayer(other))
{
continue;
}