Skip to content

Commit

Permalink
Fix switched air graphics in breathing bar (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
AterAnimAvis authored Oct 31, 2023
1 parent 9a8dc60 commit a378a03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a378a03

Please sign in to comment.