More patterns fixes

This commit is contained in:
Aleksey 2020-10-15 15:18:45 +03:00
parent 8306f245e1
commit 835b2e56d6
11 changed files with 40 additions and 32 deletions

View file

@ -31,7 +31,7 @@ public class BlockPillar extends PillarBlock implements Patterned {
@Override
public String getModelPattern(String block) {
Identifier blockId = Registry.BLOCK.getId(this);
return Patterned.createJson(Patterned.PILLAR_BLOCK_MODEL, blockId, block);
return Patterned.createJson(Patterned.PILLAR_BLOCK_MODEL, blockId, blockId.getPath());
}
@Override