Triple block pattern fix

This commit is contained in:
paulevsGitch 2021-03-11 21:21:33 +03:00
parent aaea144366
commit e1122359f1
2 changed files with 13 additions and 13 deletions

View file

@ -48,7 +48,7 @@ public class TripleTerrainBlock extends EndTerrainBlock {
System.out.println(block);
String name = Registry.BLOCK.getId(this).getPath();
if (block.endsWith("_middle")) {
return Patterns.createJson(Patterns.BLOCK_BASE, name + "_top");
return Patterns.createJson(Patterns.BLOCK_BASE, name + "_top", name + "_top");
}
Map<String, String> map = Maps.newHashMap();
map.put("%top%", "betterend:block/" + name + "_top");