Testing to see if tooltips are the cause of the EE3 + NEI "lag"
This commit is contained in:
parent
3039c2d71d
commit
927bce7c28
1 changed files with 4 additions and 7 deletions
|
@ -34,12 +34,10 @@ public class ItemTooltipEventHandler
|
|||
EmcValue emcValue = EmcRegistry.getInstance().getEmcValue(stack);
|
||||
|
||||
event.toolTip.add("");
|
||||
if (emcValue != null)
|
||||
if (emcValue != null && debug)
|
||||
{
|
||||
event.toolTip.add("EMC: " + String.format("%s", emcDecimalFormat.format(stack.getStackSize() * emcValue.getValue())));
|
||||
|
||||
if (debug)
|
||||
{
|
||||
for (EmcType emcType : EmcType.TYPES)
|
||||
{
|
||||
if (emcValue.components[emcType.ordinal()] > 0)
|
||||
|
@ -51,4 +49,3 @@ public class ItemTooltipEventHandler
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue