If you do this you most probably make other addon hooks fail to work
Lua Code:
ZO_PreHook("JumpToFriend", function()
MyAddon.TravelToPlayer()
return true
end)
return true makes the original functions top working, never called!
So any other hooks which have been applied after your addon will never be called -> broken
I would not do that. If you want your addon do some early animation then prehook, do your animation stuff and let the original function be called afterwards (no return true!).