These are now patched into tooltip methods themselves
This commit is contained in:
parent
5f514a85ab
commit
76603cd664
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user