Deleted unnecessary casts with Eclipse
This commit is contained in:
@@ -22,7 +22,7 @@ public class ExternalIInv implements IExternalStorageHandler
|
||||
@Override
|
||||
public IMEInventory getInventory(TileEntity te, ForgeDirection d, StorageChannel channel, BaseActionSource src)
|
||||
{
|
||||
InventoryAdaptor ad = InventoryAdaptor.getAdaptor( (IInventory) te, d );
|
||||
InventoryAdaptor ad = InventoryAdaptor.getAdaptor( te, d );
|
||||
|
||||
if ( channel == StorageChannel.ITEMS && ad != null )
|
||||
return new MEMonitorIInventory( ad );
|
||||
|
||||
Reference in New Issue
Block a user