Skip to content

Commit

Permalink
fix: Fix model variant for loadModel
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Jun 14, 2024
1 parent a2fc117 commit 2fa607b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void onBakeModels(ModelBakery modelBakery, ModelBakery.TextureGetter text

@Override
public DeferredObject<BakedModel> loadModel(ResourceLocation identifier) {
DeferredModel deferredModel = new DeferredModel(new ModelResourceLocation(identifier, "balm_resource")) {
DeferredModel deferredModel = new DeferredModel(new ModelResourceLocation(identifier, "standalone")) {
@Override
public BakedModel resolve(ModelBakery bakery, Map<ModelResourceLocation, BakedModel> modelRegistry, ModelBakery.TextureGetter textureGetter) {
return modelRegistry.get(getModelResourceLocation());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void onBakeModels(ModelBakery modelBakery, ModelBakery.TextureGetter text

@Override
public DeferredObject<BakedModel> loadModel(ResourceLocation identifier) {
DeferredModel deferredModel = new DeferredModel(new ModelResourceLocation(identifier, "balm_resource")) {
DeferredModel deferredModel = new DeferredModel(new ModelResourceLocation(identifier, "standalone")) {
@Override
public BakedModel resolve(ModelBakery bakery, Map<ModelResourceLocation, BakedModel> modelRegistry, ModelBakery.TextureGetter textureGetter) {
return modelRegistry.get(getModelResourceLocation());
Expand Down

0 comments on commit 2fa607b

Please sign in to comment.