File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/main/java/net/fabricmc/loom/configuration/mods Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,12 @@ public static ArtifactMetadata create(ArtifactRef artifact) throws IOException {
64
64
// Support opting into and out of remapping with "Fabric-Loom-Remap" manifest entry
65
65
remapRequirements = Boolean .parseBoolean (value ) ? RemapRequirements .OPT_IN : RemapRequirements .OPT_OUT ;
66
66
}
67
+
68
+ // Check to see if the jar was built with a newer version of loom.
69
+ // This version of loom does not support the remap type value so throw an exception.
70
+ if (mainAttributes .getValue ("Fabric-Loom-Mixin-Remap-Type" ) != null ) {
71
+ throw new IllegalStateException ("This version of loom does not support the mixin remap type value. Please update to the latest version of loom." );
72
+ }
67
73
}
68
74
69
75
final Path installerPath = fs .getPath (INSTALLER_PATH );
You can’t perform that action at this time.
0 commit comments