From 6582908eecca822b278b8396bf2a5cd995f0e046 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Mon, 20 Nov 2023 14:08:29 +0000 Subject: [PATCH] Fix bad merge --- .../java/net/fabricmc/loom/task/RemapJarTask.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/net/fabricmc/loom/task/RemapJarTask.java b/src/main/java/net/fabricmc/loom/task/RemapJarTask.java index e113c4b7d..6dd2cd5a8 100644 --- a/src/main/java/net/fabricmc/loom/task/RemapJarTask.java +++ b/src/main/java/net/fabricmc/loom/task/RemapJarTask.java @@ -151,13 +151,13 @@ public void run() { if (mixinAp) { setupLegacyMixinRefmapRemapping(params); } - } - // Add the mixin refmap remap type to the manifest - // This is used by the mod dependency remapper to determine if it should remap the refmap - // or if the refmap should be remapped by mixin at runtime. - final var refmapRemapType = mixinAp ? ArtifactMetadata.MixinRemapType.MIXIN : ArtifactMetadata.MixinRemapType.STATIC; - params.getManifestAttributes().put(Constants.Manifest.MIXIN_REMAP_TYPE, refmapRemapType.manifestValue()); + // Add the mixin refmap remap type to the manifest + // This is used by the mod dependency remapper to determine if it should remap the refmap + // or if the refmap should be remapped by mixin at runtime. + final var refmapRemapType = mixinAp ? ArtifactMetadata.MixinRemapType.MIXIN : ArtifactMetadata.MixinRemapType.STATIC; + params.getManifestAttributes().put(Constants.Manifest.MIXIN_REMAP_TYPE, refmapRemapType.manifestValue()); + } }); }