Item Counts now appear in tooltips for ME Slots.
This commit is contained in:
@@ -57,7 +57,9 @@ public abstract class AEBaseMEGui extends AEBaseGui
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Vanillia version...
|
// Vanillia version...
|
||||||
protected void drawItemStackTooltip(ItemStack stack, int x, int y)
|
// protected void drawItemStackTooltip(ItemStack stack, int x, int y)
|
||||||
|
@Override
|
||||||
|
protected void renderToolTip(ItemStack stack, int x, int y)
|
||||||
{
|
{
|
||||||
Slot s = getSlot( x, y );
|
Slot s = getSlot( x, y );
|
||||||
if ( s instanceof SlotME && stack != null )
|
if ( s instanceof SlotME && stack != null )
|
||||||
@@ -95,6 +97,7 @@ public abstract class AEBaseMEGui extends AEBaseGui
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
super.renderToolTip( stack, x, y );
|
||||||
// super.drawItemStackTooltip( stack, x, y );
|
// super.drawItemStackTooltip( stack, x, y );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user