generated from MrSphay/codex-agent-repository-kit
This commit is contained in:
@@ -25,8 +25,8 @@ public class FirstTimeSetupHandler {
|
||||
if (event.phase != TickEvent.Phase.END) {
|
||||
return;
|
||||
}
|
||||
Minecraft mc = Minecraft.m_91087_();
|
||||
if (!hasChecked && mc.f_91080_ instanceof TitleScreen) {
|
||||
Minecraft mc = Minecraft.getInstance();
|
||||
if (!hasChecked && mc.screen instanceof TitleScreen) {
|
||||
hasChecked = true;
|
||||
ExplosionOverhaul.LOGGER.info("Detected TitleScreen on client, hasChecked=true");
|
||||
if (Config.isFirstLaunch()) {
|
||||
@@ -36,7 +36,7 @@ public class FirstTimeSetupHandler {
|
||||
if (!pendingShowIntro) {
|
||||
return;
|
||||
}
|
||||
if (mc.f_91080_ instanceof TitleScreen) {
|
||||
if (mc.screen instanceof TitleScreen) {
|
||||
pendingShowIntro = false;
|
||||
ExplosionOverhaul.LOGGER.info("Showing IntroSplashScreen (first launch)");
|
||||
mc.m_91152_((Screen)new IntroSplashScreen());
|
||||
|
||||
Reference in New Issue
Block a user