Suppress warning for fetch out of tooltips
This commit is contained in:
parent
8a144949d6
commit
ded86a0170
1 changed files with 2 additions and 1 deletions
|
@ -78,7 +78,8 @@ public abstract class AEBaseMEGui extends AEBaseGui
|
||||||
|
|
||||||
if ( myStack != null )
|
if ( myStack != null )
|
||||||
{
|
{
|
||||||
List currentToolTip = stack.getTooltip( this.mc.thePlayer, this.mc.gameSettings.advancedItemTooltips );
|
@SuppressWarnings( "unchecked" )
|
||||||
|
List<String> currentToolTip = stack.getTooltip( this.mc.thePlayer, this.mc.gameSettings.advancedItemTooltips );
|
||||||
|
|
||||||
if ( myStack.getStackSize() > BigNumber || (myStack.getStackSize() > 1 && stack.isItemDamaged()) )
|
if ( myStack.getStackSize() > BigNumber || (myStack.getStackSize() > 1 && stack.isItemDamaged()) )
|
||||||
currentToolTip.add( "Items Stored: " + NumberFormat.getNumberInstance( Locale.US ).format( myStack.getStackSize() ) );
|
currentToolTip.add( "Items Stored: " + NumberFormat.getNumberInstance( Locale.US ).format( myStack.getStackSize() ) );
|
||||||
|
|
Loading…
Reference in a new issue