Candy

Candy

9k Downloads

Bug in Prepatch on PTR

neodata83 opened this issue ยท 1 comments

commented

when i lock the bars this error apears. Is bartender the Proplem?

704x Candy\core.lua:285: attempt to index global 'C_PetBattles' (a nil value)
[string "@Candy\core.lua"]:285: in function `UpdateVisibility'
[string "@Candy\core.lua"]:660: in function `LockBars'
[string "@Candy\options-Options.lua"]:260: in function <Candy\options.lua:259>
[string "=[C]"]: ?
[string "@Bartender4\libs\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-81.lua"]:51: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:49>
[string "@Bartender4\libs\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-81.lua"]:847: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:668>
[string "=[C]"]: ?
[string "@Bartender4\libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:72: in function <...aceBartender4\libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Bartender4\libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:306: in function `Fire'
[string "@Bartender4\libs\AceGUI-3.0-41\widgets\AceGUIWidget-Button.lua"]:22: in function <...der4\libs\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19>
commented

That's the line that hides the candy when you're in a pet battle. It won't work on any classic realm or anywhere petbattles might not be available. I can't find any information that says C_PetBattles is going away as a namespace, so it's probably just a PTR thing. You can just disable "Hide in pet battle" on PTR for now.