Suppress warning for fetch out of tooltips

This commit is contained in:
thatsIch 2014-11-04 15:18:09 +01:00
parent 8a144949d6
commit ded86a0170

View file

@ -78,7 +78,8 @@ public abstract class AEBaseMEGui extends AEBaseGui
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()) )
currentToolTip.add( "Items Stored: " + NumberFormat.getNumberInstance( Locale.US ).format( myStack.getStackSize() ) );