View Single Post
06-22-18, 01:22 AM   #1
thomasjohnshannon
A Theradrim Guardian
 
thomasjohnshannon's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 68
BFA Opening map in combat.

If an addon or macro tries to open the world map using functions like ToggleQuestLog() or ToggleWorldMap() while in combat before the map has been loaded it will cause an error and the map will show up like this and stay like that even if you open the map after combat. I tried using securecall and it resulted in the same error.

Code:
1x [ADDON_ACTION_BLOCKED] AddOn 'nMainbar' tried to call the protected function 'WorldMapFrame:SetWidth()'.
!BugGrabber\BugGrabber.lua:573: in function <!BugGrabber\BugGrabber.lua:573>
[C]: in function `SetWidth'
FrameXML\QuestLogOwnerMixin.lua:146: in function `SetQuestLogPanelShown'
FrameXML\QuestLogOwnerMixin.lua:124: in function `SetDisplayState'
FrameXML\QuestLogOwnerMixin.lua:51: in function `HandleUserActionToggleQuestLog'
...rfaceBlizzard_WorldMap\Blizzard_WorldMap.lua:397: in function `ToggleQuestLog'
nMainbar\Modules\PicoMenu.lua:88: in function `func'
FrameXML\UIDropDownMenu.lua:858: in function `UIDropDownMenuButton_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Locals:
InCombatSkipped
__________________
Thomas aka Urnn
  Reply With Quote