Generic overlay tiles

This commit is contained in:
Anuken
2019-04-12 15:10:10 -04:00
parent ef2b8be726
commit 46c3b35028
22 changed files with 105 additions and 104 deletions
@@ -337,6 +337,6 @@ public class PlacementFragment extends Fragment{
/** Returns the block currently being hovered over in the world. */
Block tileDisplayBlock(){
return hoverTile == null ? null : hoverTile.block().synthetic() ? hoverTile.block() : hoverTile.ore() != Blocks.air ? hoverTile.ore() : null;
return hoverTile == null ? null : hoverTile.block().synthetic() ? hoverTile.block() : hoverTile.overlay() != Blocks.air ? hoverTile.overlay() : null;
}
}