diff --git a/src/render/BlockModel.ts b/src/render/BlockModel.ts index a865d2f2..3b19eb75 100644 --- a/src/render/BlockModel.ts +++ b/src/render/BlockModel.ts @@ -188,6 +188,8 @@ export class BlockModel { } private getTexture(textureRef: string) { + textureRef = textureRef.startsWith('#') ? textureRef.slice(1) : textureRef + textureRef = this.textures?.[textureRef] ?? '' while (textureRef.startsWith('#')) { textureRef = this.textures?.[textureRef.slice(1)] ?? '' }