mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-22 21:19:54 +00:00
Move to ternary
This commit is contained in:
1 parent
a695036156
commit
2217330efc
1 file changed
+1
-3
+1
-3
@@ -405,14 +405,12 @@ public class TileEntityDrawersRenderer extends TileEntitySpecialRenderer {
|
||||
break;
|
||||
}
|
||||
|
||||
if (block.halfDepth) depth += 1;
|
||||
|
||||
renderText(
|
||||
CountFormatter.format(this.func_147498_b(), tile.getDrawer(slot)),
|
||||
side,
|
||||
offsetX,
|
||||
offsetY,
|
||||
depth - 1f,
|
||||
block.halfDepth ? depth : depth - 1f,
|
||||
alpha);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user