Dragonflight UI Classic

Dragonflight UI Classic

117k Downloads

Message: ...nterface\AddOns\DragonflightUI\Modules\Unitframe.lua:1587: attempt to call global 'UnitHasVehiclePlayerFrameUI'

luttman opened this issue ยท 5 comments

commented

Message: ...nterface\AddOns\DragonflightUI\Modules\Unitframe.lua:1587: attempt to call global 'UnitHasVehiclePlayerFrameUI' (a nil value)
Time: Sat May 6 12:39:17 2023
Count: 1
Stack: ...nterface\AddOns\DragonflightUI\Modules\Unitframe.lua:1587: attempt to call global 'UnitHasVehiclePlayerFrameUI' (a nil value)
[string "=[C]"]: in function UnitHasVehiclePlayerFrameUI' [string "@Interface\AddOns\DragonflightUI\Modules\Unitframe.lua"]:1587: in function <...nterface\AddOns\DragonflightUI\Modules\Unitframe.lua:1579> [string "=[C]"]: in function PlayerFrame_UpdateStatus'
[string "@interface\FrameXML\PlayerFrame.lua"]:160: in function <Interface\FrameXML\PlayerFrame.lua:134>

Locals:

After last update

commented

Ahh, sure! On Era. Will update later with a fix; for now you can just change the code like i said in my last post. Thanks for reporting!

commented

Weird. When does the error pop up, on login?
Original blizzard code calls this function on the Playerframe, so it's kind of unexpected.
And can you try /dump UnitHasVehiclePlayerFrameUI('player') ?
Should print like this:
image
(first call was inside quest vehicle)

If its anoying, you can just change the code like this:
Modules/Unitframe.lua Line 1587:
if (UnitHasVehiclePlayerFrameUI('player')) then to if false then

commented

Happens to me too

commented

Update for Era should be online soon!
Had multiple issues with the new rest icon animation because other than the missing VehicleUI function the flipbook animations aren't supported on Era.

To Update get DragonflightUI-v0.2.1.zip on Curse. (Wrath doesn't need update, but also works with the same files)

Thanks for reporting! Please feel free to suggest any feature you might like, or report any additional error you find.