mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
Fix cloth-config on 1.17.1 (#326)
This commit is contained in:
@@ -101,7 +101,7 @@ public record ArtifactMetadata(boolean isFabricMod, RemapRequirements remapRequi
|
|||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
throw new IllegalStateException("Unknown mixin remap type: " + mixinRemapType);
|
throw new IllegalStateException("Unknown mixin remap type: " + mixinRemapType);
|
||||||
}
|
}
|
||||||
} else if (mixinConfigs != null && platform == ModPlatform.FORGE && hasRefmaplessMixinConfig(fs, mixinConfigs)) {
|
} else if (mixinConfigs != null && !mixinConfigs.isBlank() && platform == ModPlatform.FORGE && hasRefmaplessMixinConfig(fs, mixinConfigs)) {
|
||||||
// On Forge, we support both mixins with and without refmaps.
|
// On Forge, we support both mixins with and without refmaps.
|
||||||
// Check for mixins without them, and if any are found, mark the remap type as static.
|
// Check for mixins without them, and if any are found, mark the remap type as static.
|
||||||
refmapRemapType = MixinRemapType.STATIC;
|
refmapRemapType = MixinRemapType.STATIC;
|
||||||
|
|||||||
Reference in New Issue
Block a user