From 3bd1ce2a2a6e382d1f3097e87eebe813ee4861dd Mon Sep 17 00:00:00 2001 From: LatvianModder Date: Tue, 17 Oct 2023 22:14:55 +0300 Subject: [PATCH] Fixed custom model json bug --- .../main/java/dev/latvian/mods/kubejs/block/BlockBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/dev/latvian/mods/kubejs/block/BlockBuilder.java b/common/src/main/java/dev/latvian/mods/kubejs/block/BlockBuilder.java index 2e79e7790..6d50711d3 100644 --- a/common/src/main/java/dev/latvian/mods/kubejs/block/BlockBuilder.java +++ b/common/src/main/java/dev/latvian/mods/kubejs/block/BlockBuilder.java @@ -208,7 +208,7 @@ public void generateAssetJsons(AssetJsonGenerator generator) { } if (modelJson != null) { - generator.json(newID("models/", ""), modelJson); + generator.json(newID("models/block/", ""), modelJson); } else { // This is different because there can be multiple models, so we should let the block handle those generateBlockModelJsons(generator);