tullamods / tullaRange

Colors actionbuttons when out of range
https://tullamods.com/tullaRange
MIT License
18 stars 6 forks source link

Lua error on Wrath when opening options on a different addon #10

Closed b-morgan closed 1 year ago

b-morgan commented 2 years ago

When I open options for another addon (Skillet-Classic), I get this error.

3x ...cetullaRange_Config\widgets\optionsPanel.lua:32: attempt to call field 'RegisterCanvasLayoutCategory' (a nil value)
[string "@tullaRange_Config\widgets\optionsPanel.lua"]:32: in function `New'
[string "@tullaRange_Config\colorOptions.lua"]:11: in main chunk
[string "=[C]"]: in function `LoadAddOn'
[string "@tullaRange\tullaRange-10.0.1.lua"]:64: in function <tullaRange\tullaRange.lua:63>
[string "=[C]"]: in function `Show'
[string "@FrameXML\InterfaceOptionsFrame.lua"]:203: in function `InterfaceOptionsFrame_Show'
[string "@Skillet-Classic\SkilletOptions.lua"]:1432: in function `ShowOptions'
[string "*:OnClick"]:2: in function <[string "*:OnClick"]:1>

Locals:
self = <unnamed> {
 mt = <table> {
 }
 0 = <userdata>
 Bind = <function> defined @tullaRange_Config\widgets\classy.lua:16
 New = <function> defined @tullaRange_Config\widgets\optionsPanel.lua:8
}
name = "tullaRange_ColorOptions"
parent = nil
title = "tullaRange"
subtitle = "tullaRange color configuration settings"
icon = nil
frame = tullaRange_ColorOptions {
 0 = <userdata>
 name = "tullaRange"
}
text = <unnamed> {
 0 = <userdata>
}
subtext = <unnamed> {
 0 = <userdata>
}
Settings = <table> {
 minimapPos = -45.335611
 storageId = "kMO71swybLQO"
 lastProfession = 197
 storeVersion = 5
 minimapButton = <table> {
 }
}
(*temporary) = nil
(*temporary) = tullaRange_ColorOptions {
 0 = <userdata>
 name = "tullaRange"
}
(*temporary) = "tullaRange"
(*temporary) = "tullaRange"
(*temporary) = "attempt to call field 'RegisterCanvasLayoutCategory' (a nil value)"