PacketUtil.sendPacket(viewer, PacketType.OUT_ENTITY_METADATA.newInstance(entity.getEntityId(), metaData, true));
}
// Living Entity - only data
if (handle instanceof EntityLiving) {
// Entity Attributes
AttributeMapServer attributeMap = (AttributeMapServer) EntityLivingRef.getAttributesMap.invoke(handle);
Collection<?> attributes = attributeMap.c();
if (!attributes.isEmpty()) {
PacketUtil.sendPacket(viewer, PacketType.OUT_ENTITY_UPDATE_ATTRIBUTES.newInstance(entity.getEntityId(), attributes));
}
// Entity Equipment