Skip to content

Commit 271bf97

Browse files
committed
fix tooltips not showing
1 parent bf6a8d5 commit 271bf97

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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 drawBackground(DrawContext context, float delta, int mouseX, int
2828

2929
context.drawTexture(GUI_TEXTURE, x, y, 0, 0, backgroundWidth, backgroundHeight);
3030
}
31+
32+
@Override
33+
public void render(DrawContext context, int mouseX, int mouseY, float delta) {
34+
super.render(context, mouseX, mouseY, delta);
35+
drawMouseoverTooltip(context, mouseX, mouseY);
36+
}
3137
}

0 commit comments

Comments
 (0)