Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'TomeOfTeleportation' tried to call the protected function 'EquipItemByName()' #28

Open
tflo opened this issue Sep 8, 2023 · 0 comments

Comments

@tflo
Copy link

tflo commented Sep 8, 2023

Got this when I was attacked while using a teleport cloak and then closed the ToT frame (in combat):

1x [ADDON_ACTION_BLOCKED] AddOn 'TomeOfTeleportation' tried to call the protected function 'EquipItemByName()'
1x [ADDON_ACTION_BLOCKED] AddOn 'TomeOfTeleportation' tried to call the protected function 'EquipItemByName()'.
[string "@!BugGrabber/BugGrabber.lua"]:481: in function <!BugGrabber/BugGrabber.lua:481>
[string "=[C]"]: in function `EquipItemByName'
[string "@TomeOfTeleportation/TomeOfTeleportation.lua"]:1996: in function `?'
[string "@TomeOfTeleportation/TomeOfTeleportation.lua"]:1852: in function `TeleporterRestoreEquipment'
[string "@TomeOfTeleportation/TomeOfTeleportation.lua"]:2099: in function <...eTomeOfTeleportation/TomeOfTeleportation.lua:2096>
[string "=[C]"]: in function `Hide'
[string "@TomeOfTeleportation/TomeOfTeleportation.lua"]:1877: in function <...eTomeOfTeleportation/TomeOfTeleportation.lua:1872>

Locals:
_ = Frame {
 RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
 0 = <userdata>
 UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
 SetScript = <function> defined @!BugGrabber/BugGrabber.lua:487
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
 ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:553
 ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:553
 PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:547
 LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:562
 ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:507
}

Maybe a test for InCombatLockdown on reequip could avoid this. I mean, the result would be the same, but the BugSack icon would stay green ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant