Internal change to fix Named Inventories. This change will not affect the reobfed version (much).
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user