if ( !sentCustomName )
{
sentCustomName = true;
if ( Platform.isServer() )
{
ICustomNameObject name = null;
if ( part instanceof ICustomNameObject )
name = (ICustomNameObject) part;
if ( tileEntity instanceof ICustomNameObject )
name = (ICustomNameObject) tileEntity;
if ( obj instanceof ICustomNameObject )
name = (ICustomNameObject) obj;
if ( this instanceof ICustomNameObject )
name = (ICustomNameObject) this;
if ( name != null )
{
if ( name.hasCustomName() )
customName = name.getCustomName();
if ( customName != null )
{
try
{