You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I forgot to disable the addon on a non-hunter class so this error happened. YaHT\defaults.lua:1: attempt to index global 'YaHT' (a nil value) YaHT\defaults.lua:1: in main chunk
Reason is that the class check in YaHT.lua:2 returns before the YaHT object is initialized, so defaults.lua errors when trying to reference YaHT.L.
A number of ways to fix it:
moving the class check after object init, to line:17 for example.
a similar check of if not YaHT then return end in the defaults file etc.
The text was updated successfully, but these errors were encountered:
I forgot to disable the addon on a non-hunter class so this error happened.
YaHT\defaults.lua:1: attempt to index global 'YaHT' (a nil value) YaHT\defaults.lua:1: in main chunk
Reason is that the class check in YaHT.lua:2 returns before the YaHT object is initialized, so defaults.lua errors when trying to reference
YaHT.L
.A number of ways to fix it:
if not YaHT then return end
in the defaults file etc.The text was updated successfully, but these errors were encountered: