Skip to content

Commit c3926a7

Browse files
authored
Fix Energy Charge Bar cover ItemStack amount (#4345)
1 parent df69338 commit c3926a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/gregtechceu/gtceu/client/renderer/item/ToolChargeBarRenderer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public static void render(GuiGraphics graphics, int level, int xPosition, int yP
3838

3939
int x = xPosition + 2;
4040
int y = yPosition + 13 - offset;
41-
graphics.fill(RenderType.guiOverlay(), x, y, x + 13, y + (shadow ? 2 : 1), 400, colorShadow);
42-
DrawUtil.fillHorizontalGradient(graphics, RenderType.guiOverlay(), x, y, x + level, y + 1, left, right, 400);
41+
graphics.fill(RenderType.gui(), x, y, x + 13, y + (shadow ? 2 : 1), 190, colorShadow);
42+
DrawUtil.fillHorizontalGradient(graphics, RenderType.gui(), x, y, x + level, y + 1, left, right, 190);
4343
// graphics.fill(RenderType.guiOverlay(), x + BAR_W, y, x + BAR_W - level, y - 1, colorBG);
4444
}
4545

0 commit comments

Comments
 (0)