changing teleport mechanic.
This commit is contained in:
parent
95b4ad74e8
commit
809faf3098
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user