Finish bakery stub

This commit is contained in:
ah-OOG-ah committed 2025-10-06 12:14:06 -04:00
1 parent a96f4a6c32
commit 2b71fe2d3c
1 file changed
+3
@@ -71,6 +71,9 @@ public class ModelRegistry {
// missing from the cache... that's why we're loading one from scratch. The JSONModel *used* by the UnbakedModel
// will be cached, however.
final var dough = smm.selectModel(properties);
if (dough == null) return MISSING_MODEL.bake();
return dough.bake();
}
/// Getter for {@link JSONModel}s. We don't want to publicly expose the cache, modders can't be trusted with it :P