mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
fix: remapping of jars without a fabric.mod.json (#840)
* fix: remapping of jars without a fabric.mod.json (jars that have `Fabric-Loom-Remap: true`) * fix: checkstyle
This commit is contained in:
@@ -57,6 +57,10 @@ public class AccessWidenerUtils {
|
||||
}
|
||||
|
||||
public static AccessWidenerData readAccessWidenerData(Path inputJar) throws IOException {
|
||||
if (!FabricModJsonFactory.isModJar(inputJar)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
final FabricModJson fabricModJson = FabricModJsonFactory.createFromZip(inputJar);
|
||||
final List<String> classTweakers = List.copyOf(fabricModJson.getClassTweakers().keySet());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user