Skip to content

Commit 6ed0d55

Browse files
KaupenjoeKaupenjoe
authored andcommitted
fixed tooltips not showing in screen
1 parent e375fe0 commit 6ed0d55

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/main/java/net/kaupenjoe/tutorialmod/screen/custom/PedestalScreen.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,10 @@ protected void renderBg(GuiGraphics guiGraphics, float pPartialTick, int pMouseX
2828

2929
guiGraphics.blit(GUI_TEXTURE, x, y, 0, 0, imageWidth, imageHeight);
3030
}
31+
32+
@Override
33+
public void render(GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) {
34+
super.render(guiGraphics, mouseX, mouseY, partialTick);
35+
this.renderTooltip(guiGraphics, mouseX, mouseY);
36+
}
3137
}

0 commit comments

Comments
 (0)