diff --git a/src/scripts/crafttweaker/events/playerLoggedIn.zs b/src/scripts/crafttweaker/events/playerLoggedIn.zs index 992bb2c05..f6dd225cb 100644 --- a/src/scripts/crafttweaker/events/playerLoggedIn.zs +++ b/src/scripts/crafttweaker/events/playerLoggedIn.zs @@ -11,6 +11,8 @@ import crafttweaker.event.PlayerLoggedInEvent; import crafttweaker.events.IEventManager; +import scripts.crafttweaker.stages.stageTutorial; + /* Add event listener */ @@ -25,5 +27,11 @@ function init() { ); event.player.sendChat("Thanks again for helping to test new updates!"); } + + // Make sure the player has the tutorial stage + // This helps prevent issues when a new player joins + if (!event.player.hasGameStage(stageTutorial.stage)) { + event.player.addGameStage(stageTutorial.stage); + } }); }