These are now patched into tooltip methods themselves

This commit is contained in:
DBotThePony 2023-06-07 15:06:44 +07:00
parent 5f514a85ab
commit 76603cd664
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -58,11 +58,8 @@ abstract class AbstractSlotPanel<out S : MatteryScreen<*>> @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<out S : MatteryScreen<*>> @JvmOverloads constru
font ?: screen.font,
itemstack
)
// GuiUtils.postItemToolTip();
return true
}