Closed eaglejs closed 1 year ago
a temporary fix is to check if there is a nan
if tonumber(angle) and angle == angle then
If it is nan, nan is never equal even to itself. so if it is a correct value, then this should evaluate to true.
Addressed in #Plugins/4.3/7b83d2
The problem: Whenever windower.ffxi.turn() is passed a nan, the character model will disappear on the screen and one will have to zone, or logout and back in. pressing first-person mode will cause you to fall through the ground.
Windower 4.0 Windows 10
How to reproduce:
TurnPlayer.lua
I provided a small addon script that reproduces the issue above.
//lua load TurnPlayer