From 76603cd6645634a377d5787af35f18fe77629735 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Wed, 7 Jun 2023 15:06:44 +0700 Subject: [PATCH] These are now patched into tooltip methods themselves --- .../mc/otm/client/screen/panels/slot/AbstractSlotPanel.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/slot/AbstractSlotPanel.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/slot/AbstractSlotPanel.kt index fd2a201db..305536dd5 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/slot/AbstractSlotPanel.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/slot/AbstractSlotPanel.kt @@ -58,11 +58,8 @@ abstract class AbstractSlotPanel> @JvmOverloads constru val itemstack = itemStack if (!itemstack.isEmpty) { - // val font = RenderProperties.get(itemstack).getFont(itemstack) val font = IClientItemExtensions.of(itemstack).getFont(itemstack, IClientItemExtensions.FontContext.TOOLTIP) - // TODO: WHERE???????????? - // GuiUtils.preItemToolTip(itemstack); screen.renderComponentTooltip( stack, getItemStackTooltip(itemstack), @@ -71,7 +68,6 @@ abstract class AbstractSlotPanel> @JvmOverloads constru font ?: screen.font, itemstack ) - // GuiUtils.postItemToolTip(); return true }