diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/fight/FightTeam.java b/FightSystem_Main/src/de/steamwar/fightsystem/fight/FightTeam.java index fde3dbf..f2b79ca 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/fight/FightTeam.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/fight/FightTeam.java @@ -229,9 +229,12 @@ public class FightTeam implements IFightTeam{ } private void allowFlying(boolean fly){ - for(FightPlayer p : players) - if(p.getPlayer() != null) + for(FightPlayer p : players){ + if(p.getPlayer() != null){ p.getPlayer().setAllowFlight(fly); + p.getPlayer().setFlying(fly); + } + } } public void pasteSchematic(){