} else {
if (par3EntityLivingBase.worldObj.isRemote) {
par2EntityPlayer.swingItem();
return false;
}
TileGolemConnector trans = (TileGolemConnector) tile1;
trans.ConnectGolem(par3EntityLivingBase.getUniqueID());
setY(par1ItemStack, -1);
playSound(par3EntityLivingBase.worldObj, (int) par3EntityLivingBase.posX, (int) par3EntityLivingBase.posY, (int) par3EntityLivingBase.posZ);
par2EntityPlayer.addChatMessage(new ChatComponentTranslation("ttmisc.golemconnector.complete"));