From a378a03a3dd724a49a3edd98b3d70c9f24ef6ecc Mon Sep 17 00:00:00 2001 From: AterAnimAvis Date: Tue, 31 Oct 2023 13:59:31 +0000 Subject: [PATCH] Fix switched air graphics in breathing bar (#219) --- .../net/neoforged/neoforge/client/gui/overlay/ExtendedGui.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/neoforged/neoforge/client/gui/overlay/ExtendedGui.java b/src/main/java/net/neoforged/neoforge/client/gui/overlay/ExtendedGui.java index 30862b0e37..68ff2fbddf 100644 --- a/src/main/java/net/neoforged/neoforge/client/gui/overlay/ExtendedGui.java +++ b/src/main/java/net/neoforged/neoforge/client/gui/overlay/ExtendedGui.java @@ -205,7 +205,7 @@ protected void renderAir(int width, int height, GuiGraphics guiGraphics) { int partial = Mth.ceil((double) air * 10.0D / 300.0D) - full; for (int i = 0; i < full + partial; ++i) { - guiGraphics.blitSprite(i < full ? AIR_BURSTING_SPRITE : AIR_SPRITE, left - i * 8 - 9, top, 9, 9); + guiGraphics.blitSprite(i < full ? AIR_SPRITE : AIR_BURSTING_SPRITE, left - i * 8 - 9, top, 9, 9); } rightHeight += 10; }