mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 05:27:43 -05:00
Fix crash introduced in previous zip related changes.
This commit is contained in:
@@ -47,7 +47,7 @@ public final class ModUtils {
|
||||
@Nullable
|
||||
public static JsonObject getFabricModJson(Path path) {
|
||||
try {
|
||||
return ZipUtils.unpackGson(path, "fabric.mod.json", JsonObject.class);
|
||||
return ZipUtils.unpackGsonNullable(path, "fabric.mod.json", JsonObject.class);
|
||||
} catch (IOException e) {
|
||||
throw new UncheckedIOException("Failed to extract fabric.mod.json from " + path, e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user