garrison error lua
reyard opened this issue ยท 3 comments
1x ls_Toasts/systems/garrison.lua:70: attempt to index field '?' (a nil value)
[string "@ls_Toasts/systems/garrison.lua"]:70: in function `func'
[string "@ls_Toasts/core/core.lua"]:35: in function <ls_Toasts/core/core.lua:33>
Locals:
followerTypeID = 123
missionID = 2205
garrisonType = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
getGarrisonTypeByFollowerType = defined @ls_Toasts/systems/garrison.lua:21
C =
db =
}
options =
}
}
typeToKey =
3 = "garrison_7_0"
2 = "garrison_6_0"
9 = "garrison_8_0"
111 = "garrison_9_0"
}
MissionToast_SetUp = defined @ls_Toasts/systems/garrison.lua:33
FYI this is due to Blizzard Changing the names of the ENUMS for Garrison Followers and Garrison Types.
Attached is a zip file containing garrison.lua which goes in Interface\AddOns\ls_Toasts\systems and fixes the issue above.
Fixed in 5dc127e. Sorry, couldn't do that earlier ๐ข