mirror of
https://github.com/GTNewHorizons/GTNHLib.git
synced 2026-11-28 07:35:51 +00:00
Finish bakery stub
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user