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
@@ -1165,9 +1165,9 @@ public abstract class AEBaseContainer extends Container
if( name != null )
{
if( name.hasCustomName() )
if( name.hasCustomInventoryName() )
{
this.setCustomName( name.getCustomName() );
this.setCustomName( name.getCustomInventoryName() );
}
if( this.getCustomName() != null )
@@ -255,13 +255,13 @@ public class ContainerCraftingCPU extends AEBaseContainer implements IMEMonitorH
}
@Override
public String getCustomName()
public String getCustomInventoryName()
{
return this.cpuName;
}
@Override
public boolean hasCustomName()
public boolean hasCustomInventoryName()
{
return this.cpuName != null && this.cpuName.length() > 0;
}