Internal change to fix Named Inventories. This change will not affect the reobfed version (much).

This commit is contained in:
Gunther De Wachter
2017-07-03 05:54:25 +02:00
parent e96339dd2b
commit 780ce89ac3
7 changed files with 25 additions and 20 deletions
@@ -1151,9 +1151,9 @@ public class DualityInterface implements IGridTickable, IStorageMonitorable, IIn
final TileEntity hostTile = this.iHost.getTileEntity();
final World hostWorld = hostTile.getWorld();
if( ( (ICustomNameObject) this.iHost ).hasCustomName() )
if( ( (ICustomNameObject) this.iHost ).hasCustomInventoryName() )
{
return ( (ICustomNameObject) this.iHost ).getCustomName();
return ( (ICustomNameObject) this.iHost ).getCustomInventoryName();
}
final EnumSet<EnumFacing> possibleDirections = this.iHost.getTargets();