Fixed several tooltips (i.e. Encoded Pattern) losing parts of the text due to TextComponent.shallowCopy not keeping attached siblings.
This commit is contained in:
@@ -73,7 +73,7 @@ public class ItemFacade extends AEBaseItem implements IFacadeItem, IAlphaPassIte
|
||||
final ItemStack in = this.getTextureItem( is );
|
||||
if( !in.isEmpty() )
|
||||
{
|
||||
return super.getDisplayName( is ).shallowCopy().appendText(" - ").appendSibling(in.getDisplayName());
|
||||
return super.getDisplayName( is ).deepCopy().appendText(" - ").appendSibling(in.getDisplayName());
|
||||
}
|
||||
}
|
||||
catch( final Throwable ignored )
|
||||
|
||||
Reference in New Issue
Block a user