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