
ADDON_ACTION_FORBIDDEN] AddOn 'BetterBags' tried to call the protected function 'UNKNOWN()'
navara opened this issue ยท 2 comments
Addon Version
0.3.21
World of Warcraft Version
Cataclysm
Describe the bug
When I try to use a consume from bag, I just get a sound as if I couldn't use/equip the item.
When I click on Thunderfurry it gets equipped without issues.
Message: [ADDON_ACTION_FORBIDDEN] AddOn 'BetterBags' tried to call the protected function 'UNKNOWN()'. Time: Wed May 28 20:13:14 2025 Count: 1 Stack: [ADDON_ACTION_FORBIDDEN] AddOn 'BetterBags' tried to call the protected function 'UNKNOWN()'. [string "=[C]"]: in function
ContainerFrameItemButton_OnClick'
[string "*ContainerFrame.xml:163_OnClick"]:13: in function <[string "*ContainerFrame.xml:163_OnClick"]:1>
Locals: (*temporary) = BetterBagsItemButton675 {
BattlepayItemTexture = Texture {
}
IconOverlay = Texture {
}
BagStaticTop = Texture {
}
flash = Texture {
}
IconBorder = Texture {
}
ExtendedOverlay2 = Texture {
}
icon = BetterBagsItemButton675IconTexture {
}
JunkIcon = Texture {
}
ExtendedOverlay = Texture {
}
timeSinceUpgradeCheck = 0
UpgradeIcon = Texture {
}
flashAnim = AnimationGroup {
}
newitemglowAnim = AnimationGroup {
}
subicon = BetterBagsItemButton675SubIconTexture {
}
Count = BetterBagsItemButton675Count {
}
ExtendedSlot = Texture {
}
BagStaticBottom = Texture {
}
searchOverlay = BetterBagsItemButton675SearchOverlay {
}
NewItemTexture = Texture {
}
}
(*temporary) = "RightButton"
`
Steps to reproduce
- Open the bag
- Click on Consume (Bandages, Elixir of Water Walking tested in my case)
- Get error sound and script error
- Click on Weapon (Thunderfurry)
- Same sound, but gets equipped, and the original weapon (Dragonwrath in my test) appears in the Bag
I had originally used a workaround in #747 (comment) that solved the same issue back then.