Skip to content

Commit

Permalink
Don't fail for Loom 1.5 built artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed Jan 12, 2024
1 parent ec73ad5 commit fb49f15
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fb49f15

Please sign in to comment.