generated from MrSphay/codex-agent-repository-kit
Restore setup screen and force visible explosion behavior
All checks were successful
Build / build (push) Successful in 10m52s
All checks were successful
Build / build (push) Successful in 10m52s
This commit is contained in:
@@ -25,14 +25,13 @@ public class FirstTimeSetupHandler {
|
||||
Minecraft mc = Minecraft.getInstance();
|
||||
if (!hasChecked && mc.screen instanceof TitleScreen) {
|
||||
hasChecked = true;
|
||||
if (Config.isFirstLaunch()) {
|
||||
if (!((Boolean)Config.CLIENT.introSetupComplete.get()).booleanValue()) {
|
||||
pendingShowIntro = true;
|
||||
}
|
||||
}
|
||||
if (pendingShowIntro && mc.screen instanceof TitleScreen) {
|
||||
pendingShowIntro = false;
|
||||
mc.setScreen(new IntroSplashScreen());
|
||||
Config.markFirstLaunchComplete();
|
||||
mc.setScreen(new FirstTimeScreen());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user