Skip to content

Commit

Permalink
Fixes maruohon#163
Browse files Browse the repository at this point in the history
 + Adjusted naming to match malilib
  • Loading branch information
EnricoMessall committed Sep 18, 2024
1 parent 28de853 commit fdbab69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/fi/dy/masa/malilib/mixin/MixinInGameHud.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ public abstract class MixinInGameHud {

@Inject(method = "<init>", at = @At("TAIL"))
private void onInit(CallbackInfo info) {
this.layeredDrawer.addLayer(this::renderChatOverwrite);
this.layeredDrawer.addLayer(this::renderGameOverlayPost);
}

private void renderChatOverwrite(DrawContext context, RenderTickCounter tickCounter) {
private void renderGameOverlayPost(DrawContext context, RenderTickCounter tickCounter) {
((RenderEventHandler) RenderEventHandler.getInstance()).onRenderGameOverlayPost(context, this.client, tickCounter.getTickDelta(false));
}
}

0 comments on commit fdbab69

Please sign in to comment.