Move to ternary

This commit is contained in:
cargocats committed 2025-05-24 11:39:17 -04:00
1 parent a695036156
commit 2217330efc
1 file changed
+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);
}