Some additional fixes from other branch.

This commit is contained in:
Sebastian Hartte
2020-05-30 22:18:26 +02:00
parent 16d6d55d7f
commit ec3b464655
139 changed files with 1489 additions and 1485 deletions
@@ -538,26 +538,26 @@ public class TileInscriber extends AENetworkPowerTile implements IGridTickable,
if( !plateA.isEmpty() )
{
final CompoundNBT tag = Platform.openNbtData( plateA );
final CompoundNBT tag = plateA.getOrCreateTag();
name += tag.getString( "InscribeName" );
}
if( !plateB.isEmpty() )
{
final CompoundNBT tag = Platform.openNbtData( plateB );
final CompoundNBT tag = plateB.getOrCreateTag();
name += " " + tag.getString( "InscribeName" );
}
final ItemStack startingItem = input.copy();
final ItemStack renamedItem = input.copy();
final CompoundNBT tag = Platform.openNbtData( renamedItem );
final CompoundNBT tag = renamedItem.getOrCreateTag();
final CompoundNBT display = tag.getCompoundTag( "display" );
tag.setTag( "display", display );
if( name.length() > 0 )
{
display.setString( "Name", name );
display.putString("Name", name);
}
else
{