teleportations.
This commit is contained in:
parent
10d26ca32b
commit
072856be7d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user