Hide "Passive Drain" for items with no idle drain.

This commit is contained in:
AlgorithmX2 2014-02-16 01:33:49 -06:00
parent f9693a4b69
commit 12d3d4e548

View file

@ -151,7 +151,8 @@ public class GuiNetworkStatus extends AEBaseGui implements ISortSource
ToolTip = Platform.getItemDisplayName( repo.getItem( z ) );
ToolTip = ToolTip + ("\n" + GuiText.Installed.getLocal() + ": " + (refStack.getStackSize()));
ToolTip = ToolTip + ("\n" + GuiText.EnergyDrain.getLocal() + ": " + formatPowerLong( refStack.getCountRequestable() ));
if ( refStack.getCountRequestable() > 0 )
ToolTip = ToolTip + ("\n" + GuiText.EnergyDrain.getLocal() + ": " + formatPowerLong( refStack.getCountRequestable() ));
toolPosX = x * sectionLength + xo + sectionLength - 8;
toolPosY = y * 18 + yo;