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()'
```cobol
1x [ADDON_ACTION_BLOCKED] AddOn 'TomeOfTeleportation' tried to call the protected function 'EquipItemByName()'.
[string "@!BugGrabber/BugGrabber.lua"]:481: in function
[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 = defined @!BugGrabber/BugGrabber.lua:487
0 =
UnregisterEvent = defined @!BugGrabber/BugGrabber.lua:487
SetScript = defined @!BugGrabber/BugGrabber.lua:487
}
event = "ADDON_ACTION_BLOCKED"
events =
{
ADDON_ACTION_BLOCKED = defined @!BugGrabber/BugGrabber.lua:553
ADDON_ACTION_FORBIDDEN = defined @!BugGrabber/BugGrabber.lua:553
PLAYER_LOGIN = defined @!BugGrabber/BugGrabber.lua:547
LUA_WARNING = defined @!BugGrabber/BugGrabber.lua:562
ADDON_LOADED = 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 ;)
Got this when I was attacked while using a teleport cloak and then closed the ToT frame (in combat):
```cobol 1x [ADDON_ACTION_BLOCKED] AddOn 'TomeOfTeleportation' tried to call the protected function 'EquipItemByName()'. [string "@!BugGrabber/BugGrabber.lua"]:481: in function [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 =1x [ADDON_ACTION_BLOCKED] AddOn 'TomeOfTeleportation' tried to call the protected function 'EquipItemByName()'
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 ;)