Skip to content

Commit

Permalink
fix(legacy): customhotbar causing minecraft font issue
Browse files Browse the repository at this point in the history
  • Loading branch information
EclipsesDev committed Dec 22, 2024
1 parent 97bedfa commit 60c4e1b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private void injectCustomHotbar(ScaledResolution resolution, float delta, Callba

List<float[]> gradientColors = ColorSettingsKt.toColorArray(hud.getBgGradColors(), hud.getMaxHotbarGradientColors());

GL11.glPushAttrib(GL_ALL_ATTRIB_BITS);
GL11.glPushMatrix();
resetColor();

boolean isGradient = hud.getHotbarMode().equals("Gradient");
Expand Down Expand Up @@ -176,7 +176,7 @@ private void injectCustomHotbar(ScaledResolution resolution, float delta, Callba
disableRescaleNormal();
disableBlend();

GL11.glPopAttrib();
GL11.glPopMatrix();

AWTFontRenderer.Companion.setAssumeNonVolatile(false);

Expand Down

0 comments on commit 60c4e1b

Please sign in to comment.