From edf452a3f178907c8288e3ec38b71f197c2e44cb Mon Sep 17 00:00:00 2001 From: Lolothepro <68275908+Lolothepro@users.noreply.github.com> Date: Wed, 1 Nov 2023 20:11:13 +0100 Subject: [PATCH] Update DisplayWindow.java fix https://github.com/neoforged/FancyModLoader/issues/29 --- .../java/net/neoforged/fml/earlydisplay/DisplayWindow.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/earlydisplay/src/main/java/net/neoforged/fml/earlydisplay/DisplayWindow.java b/earlydisplay/src/main/java/net/neoforged/fml/earlydisplay/DisplayWindow.java index 84b1e4c0a..85884c70f 100644 --- a/earlydisplay/src/main/java/net/neoforged/fml/earlydisplay/DisplayWindow.java +++ b/earlydisplay/src/main/java/net/neoforged/fml/earlydisplay/DisplayWindow.java @@ -146,7 +146,7 @@ public Runnable initialize(String[] arguments) { this.maximized = parsed.has(maximizedopt) || FMLConfig.getBoolConfigValue(FMLConfig.ConfigValue.EARLY_WINDOW_MAXIMIZED); var forgeVersion = parsed.valueOf(forgeversionopt); - StartupNotificationManager.modLoaderConsumer().ifPresent(c->c.accept("Forge loading "+ forgeVersion)); + StartupNotificationManager.modLoaderConsumer().ifPresent(c->c.accept("NeoForge loading "+ forgeVersion)); performanceInfo = new PerformanceInfo(); return start(parsed.valueOf(mcversionopt), forgeVersion); } @@ -403,7 +403,7 @@ public void initWindow(@Nullable String mcVersion) { glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, GL_VERSIONS[versidx][1]); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); - window = glfwCreateWindow(winWidth, winHeight, "Minecraft: Forge Loading...", 0L, 0L); + window = glfwCreateWindow(winWidth, winHeight, "Minecraft: NeoForge Loading...", 0L, 0L); var erridx = versidx; handleLastGLFWError((error, description) -> lastGLError[erridx] = String.format("Trying %d.%d: GLFW error: [0x%X]%s", GL_VERSIONS[erridx][0], GL_VERSIONS[erridx][1], error, description)); if (lastGLError[versidx] != null) { @@ -620,4 +620,4 @@ public void close() { public void crash(final String message) { crashElegantly(message); } -} \ No newline at end of file +}