MacFrames

MacFrames

3.3k Downloads

Not working with demon hunter

Anothersignup opened this issue ยท 1 comments

commented

Seems to be a problem with non-healers, maybe only tank classes? I lilke this addon for my healer specs, and it works well.

This is the error I got with demon hunter:

[string "@MacFrames\Util\SettingsUtil.lua"]:30: in function `GetSpecialClassDisplays'
[string "@MacFrames\Frames\UnitFrame.lua"]:571: in function `CreateSpecialClassDisplayFromSettings'
[string "@MacFrames\Frames\UnitFrame.lua"]:547: in function `CreateAuraDisplays'
[string "@MacFrames\Frames\UnitFrame.lua"]:437: in function `UpdateAllSettings'
[string "@MacFrames\Frames\UnitFrame.lua"]:224: in function `new'
[string "@MacFrames\Frames\PartyFrame.lua"]:172: in function `create'
[string "@MacFrames\MacFrames-v0.0.9c.lua"]:265: in function `?'
[string "@MacFrames\MacFrames-v0.0.9c.lua"]:308: in function <MacFrames\MacFrames.lua:304>

Locals:
(*temporary) = nil
(*temporary) = 577
(*temporary) = "Default"
(*temporary) = "attempt to index field '?' (a nil value)"
PlayerInfo = <table> {
 specId = 577
 class = "DEMONHUNTER"
 ClassSpecializations = <table> {
 }
 classId = 12
}
ProfileManager = <table> {
 GetDefaultProfile = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:164
 RenameProfile = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:296
 GetCurrent = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:160
 AddonLoaded = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:139
 ResetAddonSettings = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:196
 AddonDefaults = "*Addon Defaults*"
 SelectProfileForSpec = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:187
 PlayerInfoChanged = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:153
 GetMinimapSettings = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:363
 DeleteProfile = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:336
 BuildSavedVariables = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:229
 TriggerErrorState = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:257
 CreateProfileCopy = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:279
 IsNewProfileNameValid = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:261
 UnregisterProfileChangedListener = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:52
 GetCharacterListForProfileName = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:322
 UnregisterProfileListChangedListener = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:66
 RegisterProfileChangedListener = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:48
 RegisterProfileListChangedListener = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:62
 GetSelectedProfileNameForSpec = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:176
 SetActiveProfile = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:246
 LoadSVars = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:205
 GetProfileList = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:242
 SaveSVars = <function> defined @MacFrames\SavedVariables\ProfileManager.lua:221
}```
commented

Fixed, for explanation see #43