Don't fail for Loom 1.5 built artifacts

This commit is contained in:
shedaniel
2024-01-12 15:02:35 +09:00
parent ec73ad52ec
commit fb49f1516f

View File

@@ -93,12 +93,6 @@ public record ArtifactMetadata(boolean isFabricMod, RemapRequirements remapRequi
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;