ZelionGG / XIV_Databar-Continued

Continuation of XIV_Databar addon
https://discord.gg/g7JZNGSU32
GNU General Public License v3.0
5 stars 3 forks source link

[Bug] XP bar disappears if you get level in combat and if you log in in combat. #18

Open Amanthuul opened 8 months ago

Amanthuul commented 8 months ago

Describe the bug XP bar disappears if you get level in combat and if you log in in combat.

To Reproduce Get level while in combat or log in while in combat (i.e. in raid or when mob attacks you while you logging in)

Lua error logs

10x [ADDON_ACTION_BLOCKED] AddOn 'XIV_Databar_Continued' tried to call the protected function 'XIV_Databar:SetPoint()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `SetPoint'
[string "@XIV_Databar_Continued/core.lua"]:308: in function `Refresh'
[string "@XIV_Databar_Continued/core.lua"]:151: in function <XIV_Databar_Continued/core.lua:150>

Locals:
_ = Frame {
 RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
 0 = <userdata>
 UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
 SetScript = <function> defined @!BugGrabber/BugGrabber.lua:491
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
 ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:557
 ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:557
 PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:551
 LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:566
 ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:511
}

WoW Version (please complete the following information) Vanilla (maybe other too?)

XIV_Databar Continued Version 2.7.1

ZelionGG commented 8 months ago

Heya, thanks for the report, I'll investigate on that and keep you updated 😄