SharpWoW / BodyguardHealth

A WoW AddOn that displays current bodyguard health and status in a frame.
MIT License
0 stars 0 forks source link

Pre-Patch Errors: SetMapToCurrentZone #22

Closed nancikennedy closed 6 years ago

nancikennedy commented 6 years ago
1x BodyguardHealth\lib\LibBodyguard-1.0-7\main.lua:166: attempt to call global 'SetMapToCurrentZone' (a nil value)
BodyguardHealth\lib\LibBodyguard-1.0-7\main.lua:166: in function <BodyguardHealth\lib\LibBodyguard-1.0\main.lua:165>
BodyguardHealth\lib\LibBodyguard-1.0-7\main.lua:435: in function `?'
BodyguardHealth\lib\LibBodyguard-1.0-7\main.lua:479: in function <BodyguardHealth\lib\LibBodyguard-1.0\main.lua:478>

Locals:
(*temporary) = nil
(*temporary) = "attempt to call global 'SetMapToCurrentZone' (a nil value)"
mode = nil
CONTINENTS = <table> {
 7 = 0
 8 = 1
}
Sharparam commented 6 years ago

Possible fix described here: https://us.battle.net/forums/en/wow/topic/20766116692#post-2

(Might have to check if WorldMapFrame is nil before calling.)

Sharparam commented 6 years ago

Fixed in latest release.