arkayenro / arkinventory

A World of Warcraft Inventory mod for Retail, Burning Crusade, and Classic
108 stars 14 forks source link

[BUG] Error when trying to use toys while a profession window is open. #1866

Closed thisisu closed 7 months ago

thisisu commented 7 months ago

What version number you are using? 3.10.24

What game client are you playing? Retail, Wrath, Classic / Live, PTR, Beta Retail

What language is the game client set to? English

Describe the bug

` 1x [ADDON_ACTION_FORBIDDEN] AddOn 'ArkInventory' tried to call the protected function 'UseToy()'. [string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485> [string "=[C]"]: in functionUseToy' [string "@Blizzard_Collections/Blizzard_ToyBox.lua"]:181: in function `ToySpellButton_OnClick'

Locals: _ = Frame { RegisterEvent = defined @!BugGrabber/BugGrabber.lua:491 0 = UnregisterEvent = defined @!BugGrabber/BugGrabber.lua:491 SetScript = defined @!BugGrabber/BugGrabber.lua:491 } event = "ADDON_ACTION_FORBIDDEN" events =

{ ADDON_ACTION_BLOCKED = defined @!BugGrabber/BugGrabber.lua:557 ADDON_ACTION_FORBIDDEN = defined @!BugGrabber/BugGrabber.lua:557 PLAYER_LOGIN = defined @!BugGrabber/BugGrabber.lua:551 LUA_WARNING = defined @!BugGrabber/BugGrabber.lua:566 ADDON_LOADED = defined @!BugGrabber/BugGrabber.lua:511 } ``

To Reproduce Go to an Alchemist's Lab Bench. Use bench. With the bench still open, open Hierlooms, visit Toy Box tab. Try to launch use toy. Pretty much all of them work. Ai-Li's Skymirror, Aqua Jewel, Katy's Stampwhistle, etc...

Screenshots

WoWScrnShot_022024_175240

Additional context Add any other context about the problem here.

arkayenro commented 7 months ago

could you disable arkinventory and test it again?

i dont call UseToy() in my code as its protected, its probably another mod using the same shared ace3 libraries (which will blame me because i typically load them first)

thisisu commented 7 months ago

Yep will try it and let you know

thisisu commented 7 months ago

Can no longer reproduce. There were some updates to other addons. It was probably one of those as the culprit. Thanks