Fix Tooltip with Component in first line (#989)

This commit is contained in:
slprime authored and GitHub committed 2026-08-01 20:00:17 +03:00
1 parent b48956ef94
commit 4cc72444d9
1 file changed
+1 -1
@@ -625,7 +625,7 @@ public class GuiContainerManager {
tooltip.set(0, tooltip.get(0) + GuiDraw.TOOLTIP_LINESPACE);
}
} else if (!tooltip.isEmpty()) {
} else if (!tooltip.isEmpty() && !tooltip.get(0).startsWith(GuiDraw.TOOLTIP_HANDLER)) {
tooltip.set(0, tooltip.get(0) + GuiDraw.TOOLTIP_LINESPACE);
}