From 9f87b85fb740934cf2ed80c21dabf67220908401 Mon Sep 17 00:00:00 2001 From: Jab125 <67534807+Jab125@users.noreply.github.com> Date: Tue, 9 Jul 2024 21:12:20 +1000 Subject: [PATCH] Update ForgeRunTemplate.java --- .../loom/configuration/providers/forge/ForgeRunTemplate.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/net/fabricmc/loom/configuration/providers/forge/ForgeRunTemplate.java b/src/main/java/net/fabricmc/loom/configuration/providers/forge/ForgeRunTemplate.java index 9d2bb54bf..20b99ba64 100644 --- a/src/main/java/net/fabricmc/loom/configuration/providers/forge/ForgeRunTemplate.java +++ b/src/main/java/net/fabricmc/loom/configuration/providers/forge/ForgeRunTemplate.java @@ -123,8 +123,6 @@ public void applyTo(RunConfigSettings settings, ConfigValue.Resolver configValue return modClasses; }); - final ForgeProvider forgeProvider = settings.getExtension().getForgeProvider(); - if (settings.getExtension().isForge() && forgeProvider.usesUnionRelauncher()) { settings.defaultMainClass(Constants.Forge.UNION_RELAUNCHER_MAIN_CLASS); settings.property(Constants.Forge.UNION_RELAUNCHER_MAIN_CLASS_PROPERTY, main);