Skip to content

Commit

Permalink
Merge remote-tracking branch 'FabricMC/dev/1.3' into dev/1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed Jan 10, 2024
2 parents b6354a0 + f24ad0d commit 4c833c3
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ public static ArtifactMetadata create(ArtifactRef artifact, ModPlatform platform
// Support opting into and out of remapping with "Fabric-Loom-Remap" manifest entry
remapRequirements = Boolean.parseBoolean(value) ? RemapRequirements.OPT_IN : RemapRequirements.OPT_OUT;
}

// 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 4c833c3

Please sign in to comment.