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
|
val itemstack = itemStack
|
||||||
|
|
||||||
if (!itemstack.isEmpty) {
|
if (!itemstack.isEmpty) {
|
||||||
// val font = RenderProperties.get(itemstack).getFont(itemstack)
|
|
||||||
val font = IClientItemExtensions.of(itemstack).getFont(itemstack, IClientItemExtensions.FontContext.TOOLTIP)
|
val font = IClientItemExtensions.of(itemstack).getFont(itemstack, IClientItemExtensions.FontContext.TOOLTIP)
|
||||||
|
|
||||||
// TODO: WHERE????????????
|
|
||||||
// GuiUtils.preItemToolTip(itemstack);
|
|
||||||
screen.renderComponentTooltip(
|
screen.renderComponentTooltip(
|
||||||
stack,
|
stack,
|
||||||
getItemStackTooltip(itemstack),
|
getItemStackTooltip(itemstack),
|
||||||
@ -71,7 +68,6 @@ abstract class AbstractSlotPanel<out S : MatteryScreen<*>> @JvmOverloads constru
|
|||||||
font ?: screen.font,
|
font ?: screen.font,
|
||||||
itemstack
|
itemstack
|
||||||
)
|
)
|
||||||
// GuiUtils.postItemToolTip();
|
|
||||||
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user