player.connection.sendPacket(new SPacketEntityEffect(player.getEntityId(), potioneffect));
}
FMLCommonHandler.instance().firePlayerChangedDimensionEvent(player, prevDimension, destinationDimension);
return true;
}
<BUG>else if (!entity.worldObj.isRemote && !entity.isDead)
{</BUG>
Entity newEntity = EntityList.createEntityByName(EntityList.getEntityString(entity), worldDest);
if(newEntity == null)
return false;

player.connection.sendPacket(new SPacketEntityEffect(player.getEntityId(), potioneffect));
}
FMLCommonHandler.instance().firePlayerChangedDimensionEvent(player, prevDimension, destinationDimension);
return true;
}
else if (!entity.isDead)
{
Entity newEntity = EntityList.createEntityByName(EntityList.getEntityString(entity), worldDest);
if(newEntity == null)
return false;
