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
@@ -1243,15 +1243,15 @@ public final class CraftingCPUCluster implements IAECluster, ICraftingCPU
for( final TileCraftingTile te : this.tiles )
{
if( te.hasCustomName() )
if( te.hasCustomInventoryName() )
{
if( this.myName.length() > 0 )
{
this.myName += ' ' + te.getCustomName();
this.myName += ' ' + te.getCustomInventoryName();
}
else
{
this.myName = te.getCustomName();
this.myName = te.getCustomInventoryName();
}
}
}