From fb49f1516f10f671ab7d69ff7f84f419def52e87 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Fri, 12 Jan 2024 15:02:35 +0900 Subject: [PATCH] Don't fail for Loom 1.5 built artifacts --- .../fabricmc/loom/configuration/mods/ArtifactMetadata.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/net/fabricmc/loom/configuration/mods/ArtifactMetadata.java b/src/main/java/net/fabricmc/loom/configuration/mods/ArtifactMetadata.java index f076fbbf8..a96b69af2 100644 --- a/src/main/java/net/fabricmc/loom/configuration/mods/ArtifactMetadata.java +++ b/src/main/java/net/fabricmc/loom/configuration/mods/ArtifactMetadata.java @@ -93,12 +93,6 @@ public static ArtifactMetadata create(ArtifactRef artifact, String currentLoomVe if (loomVersion != null && refmapRemapType != MixinRemapType.STATIC) { validateLoomVersion(loomVersion, currentLoomVersion); } - - // Check to see if the jar was built with a newer version of loom. - // This version of loom does not support the remap type value so throw an exception. - if (mainAttributes.getValue("Fabric-Loom-Mixin-Remap-Type") != null) { - throw new IllegalStateException("This version of loom does not support the mixin remap type value. Please update to the latest version of loom."); - } } final String installerFile = platform == ModPlatform.QUILT ? QUILT_INSTALLER_PATH : INSTALLER_PATH;