teleportations.

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

View File

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