teleportations.

This commit is contained in:
Sarah 2015-12-06 23:19:53 +01:00
parent 10d26ca32b
commit 072856be7d

View File

@ -74,12 +74,15 @@ public abstract class TutorialPhase
@Override @Override
public void run() public void run()
{ {
for(Player player : _tutorial.getPlayers().keySet()) if(!_hasEnded && !getTutorial().hasEnded())
{ {
player.setAllowFlight(true); for(Player player : _tutorial.getPlayers().keySet())
player.setFlying(true); {
player.teleport(_location); player.setAllowFlight(true);
} player.setFlying(true);
player.teleport(_location);
}
}
} }
}); });
try try