Make use of DISABLE_TUTORIAL configuration at EnterWorld.

This commit is contained in:
MobiusDevelopment
2022-03-19 22:26:12 +00:00
parent 864cbb2ae0
commit ab0b5ed8de
2 changed files with 8 additions and 2 deletions

View File

@ -282,7 +282,10 @@ public class EnterWorld implements IClientIncomingPacket
} }
} }
loadTutorial(player); if (!Config.DISABLE_TUTORIAL)
{
loadTutorial(player);
}
// Check for crowns // Check for crowns
CrownManager.getInstance().checkCrowns(player); CrownManager.getInstance().checkCrowns(player);

View File

@ -305,7 +305,10 @@ public class EnterWorld implements IClientIncomingPacket
} }
} }
loadTutorial(player); if (!Config.DISABLE_TUTORIAL)
{
loadTutorial(player);
}
// Check for crowns // Check for crowns
CrownManager.getInstance().checkCrowns(player); CrownManager.getInstance().checkCrowns(player);