Only validate loom version when mixins are to be remapped with TinyRemapper (#1168)

* Only validate loom version when mixins are to be remapped with TinyRemapper

* add tests

* change existing test to match new logic

* update "Valid loom version" test

* tabs for indentation, spaces for alignment

* fix more sneaky tabs
This commit is contained in:
James Mitchell
2024-09-07 23:52:32 -10:00
committed by GitHub
parent 5f09e18f03
commit 36a199f3b8
2 changed files with 45 additions and 14 deletions

View File

@@ -81,7 +81,7 @@ public record ArtifactMetadata(boolean isFabricMod, RemapRequirements remapRequi
}
}
if (loomVersion != null && refmapRemapType != MixinRemapType.STATIC) {
if (loomVersion != null && refmapRemapType == MixinRemapType.STATIC) {
validateLoomVersion(loomVersion, currentLoomVersion);
}