1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-14 04:00:30 +00:00

Make the monitor depth blocker slightly larger

This commit is contained in:
Jonathan Coates 2021-09-19 20:06:44 +01:00
parent 5facbca2b3
commit acaa61a720
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -140,8 +140,8 @@ public class TileEntityMonitorRenderer extends TileEntityRenderer<TileMonitor>
FixedWidthFontRenderer.drawBlocker(
transform.last().pose(), renderer,
(float) -TileMonitor.RENDER_MARGIN, (float) TileMonitor.RENDER_MARGIN,
(float) (xSize + 2 * TileMonitor.RENDER_MARGIN), (float) -(ySize + TileMonitor.RENDER_MARGIN * 2)
-MARGIN, MARGIN,
(float) (xSize + 2 * MARGIN), (float) -(ySize + MARGIN * 2)
);
// Force a flush of the blocker. WorldRenderer.updateCameraAndRender will "finish" all the built-in