Skip to content

Commit

Permalink
merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
deirn committed Feb 24, 2025
1 parent 89f98d3 commit 33a85c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/mcp/mobius/waila/service/ClientApiService.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.mojang.blaze3d.vertex.VertexConsumer;
import mcp.mobius.waila.api.ITooltipComponent;
import mcp.mobius.waila.api.__internal__.IClientApiService;
import mcp.mobius.waila.gui.hud.ComponentRenderer;
import mcp.mobius.waila.mixin.GuiGraphicsAccess;
import mcp.mobius.waila.util.DisplayUtil;
import net.minecraft.client.DeltaTracker;
Expand All @@ -14,7 +15,7 @@ public class ClientApiService implements IClientApiService {

@Override
public void renderComponent(GuiGraphics ctx, ITooltipComponent component, int x, int y, DeltaTracker delta) {
DisplayUtil.renderComponent(ctx, component, x, y, 0, delta);
ComponentRenderer.get().render(ctx, component, x, y, component.getWidth(), component.getHeight(), delta);
}

@Override
Expand Down

0 comments on commit 33a85c8

Please sign in to comment.