Skip to content

Commit

Permalink
fix flame icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jiink committed Apr 17, 2024
1 parent 7f0cd9b commit a1e85ec
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ private void renderProgressArrow(DrawContext context, int x, int y) {
}

private void renderFlame(DrawContext context, int x, int y) {
context.drawTexture(TEXTURE, x + 56, y + 54, 200, 20, 14, handler.getScaledFuel());
int flameHeight = handler.getScaledFuel();
context.drawTexture(TEXTURE, x + 56, y + 54 + (14 - flameHeight), 200, 20 + (14 - flameHeight), 14, flameHeight);
}

@Override
Expand Down

0 comments on commit a1e85ec

Please sign in to comment.