Sapling pattern fix
This commit is contained in:
parent
3b966ff8e6
commit
d9d6d32e91
5 changed files with 4 additions and 4 deletions
|
@ -111,7 +111,7 @@ public abstract class BlockFeatureSapling extends BlockBaseNotFull implements Fe
|
|||
public String getModelPattern(String block) {
|
||||
if (block.contains("item")) {
|
||||
block = block.split("/")[1];
|
||||
return Patterned.createJson(Patterned.ITEM_MODEL, block);
|
||||
return Patterned.createJson(Patterned.BLOCK_ITEM_MODEL, block);
|
||||
}
|
||||
return Patterned.createJson(Patterned.SAPLING_MODEL, block);
|
||||
}
|
||||
|
|
|
@ -146,7 +146,7 @@ public class BlockLadder extends BlockBaseNotFull implements IRenderTypeable, Pa
|
|||
public String getModelPattern(String block) {
|
||||
Identifier blockId = Registry.BLOCK.getId(this);
|
||||
if (block.contains("item")) {
|
||||
return Patterned.createJson(Patterned.LADDER_ITEM_MODEL, blockId.getPath());
|
||||
return Patterned.createJson(Patterned.BLOCK_ITEM_MODEL, blockId.getPath());
|
||||
}
|
||||
return Patterned.createJson(Patterned.LADDER_MODEL, blockId.getPath());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue