changing teleport mechanic.

This commit is contained in:
Sarah 2015-11-26 00:14:15 +01:00
parent 95b4ad74e8
commit 809faf3098

View File

@ -142,6 +142,11 @@ public class GameManager implements Listener
boolean finished = true; boolean finished = true;
if(game.EnableTutorials) if(game.EnableTutorials)
{ {
for(Player player : UtilServer.getPlayers())
{
if(player.getWorld() == Manager.GetLobby().GetSpawn().getWorld())
return true;
}
for(GameTeam team : game.GetTeamList()) for(GameTeam team : game.GetTeamList())
{ {
if(team.getTutorial() != null) if(team.getTutorial() != null)