Restore intro screen and visible crater test behavior
All checks were successful
Build / build (push) Successful in 9m37s

This commit is contained in:
MrSphay
2026-05-07 22:29:22 +02:00
parent eebf126bac
commit 73f0fac8eb
3 changed files with 59 additions and 1 deletions

View File

@@ -22,6 +22,18 @@ public class FirstTimeSetupHandler {
@SubscribeEvent
public static void onClientTick(ClientTickEvent.Post event) {
Minecraft mc = Minecraft.getInstance();
if (!hasChecked && mc.screen instanceof TitleScreen) {
hasChecked = true;
if (Config.isFirstLaunch()) {
pendingShowIntro = true;
}
}
if (pendingShowIntro && mc.screen instanceof TitleScreen) {
pendingShowIntro = false;
mc.setScreen(new IntroSplashScreen());
Config.markFirstLaunchComplete();
}
}
static {