Minor build fixes

This commit is contained in:
Anuken
2019-07-22 12:42:42 -04:00
parent 8d2a637bd8
commit 6f0bc2ecf8
7 changed files with 4 additions and 3 deletions

View File

@@ -349,6 +349,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.overlay().itemDrop != null ? hoverTile.overlay() : null;
return hoverTile == null ? null : hoverTile.block().synthetic() ? hoverTile.block() : hoverTile.drop() != null ? hoverTile.overlay().itemDrop != null ? hoverTile.overlay() : hoverTile.floor() : null;
}
}