From 55f749c7f891f5526ff97e24625cf43e4472f3e3 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Sun, 28 Jul 2024 02:00:07 +0900 Subject: [PATCH] This should be forgelike Why didn't this break unit tests? --- .../net/fabricmc/loom/configuration/CompileConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/fabricmc/loom/configuration/CompileConfiguration.java b/src/main/java/net/fabricmc/loom/configuration/CompileConfiguration.java index 9869ca332..6b527d0c1 100644 --- a/src/main/java/net/fabricmc/loom/configuration/CompileConfiguration.java +++ b/src/main/java/net/fabricmc/loom/configuration/CompileConfiguration.java @@ -270,7 +270,7 @@ private synchronized void setupMinecraft(ConfigContext configContext) throws Exc srgMinecraftProvider.provide(provideContext); } - if (extension.isForge() && extension.getForgeProvider().usesMojangAtRuntime()) { + if (extension.isForgeLike() && extension.getForgeProvider().usesMojangAtRuntime()) { final MojangMappedMinecraftProvider mojangMappedMinecraftProvider = jarConfiguration.createMojangMappedMinecraftProvider(project); extension.setMojangMappedMinecraftProvider(mojangMappedMinecraftProvider); mojangMappedMinecraftProvider.provide(provideContext);