Fix crash

This commit is contained in:
modmuss50
2022-10-01 09:19:20 +01:00
parent 514dd24e9e
commit c9356349de

View File

@@ -205,6 +205,10 @@ public class InterfaceInjectionProcessor implements JarProcessor, GenerateSource
throw new UncheckedIOException(e);
}
if (fabricModJson == null) {
return Collections.emptyList();
}
return InjectedInterface.fromFabricModJson(fabricModJson);
}