Skip to content

Commit

Permalink
Update ArmorHudRenderer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrptonaught authored and DBTDerpbox committed Aug 2, 2024
1 parent bc88a3c commit 041eddb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public static void onHudRender(DrawContext context, float v) {
context.drawItemInSlot(client.textRenderer, armorStack, 0, y);
}
}
context.setShaderColor(1f, 1f, 1f, 1f);
context.getMatrices().pop();
}
}
Expand All @@ -67,8 +68,8 @@ public static void onHudRenderDummy(DrawContext context, float xOffset, float sc
context.drawItemInSlot(client.textRenderer, armorStack, 0, y);
}
}
context.setShaderColor(1f, 1f, 1f, 1f);
context.getMatrices().pop();

}

private static void draw(DrawContext context, Identifier texture, float x, float y) {
Expand Down

0 comments on commit 041eddb

Please sign in to comment.