Cata Classic - Error in StatusRange for DKs
lordblackadder opened this issue ยท 2 comments
WoW build 4.4.0.54500
Grid2 2.8.20-cata
There is a lua error on login if the player is a DK, because isRangeAvail
is false (and it should be because range checks are now restricted for Cata) but then it enters the vanilla if branch that has no DK check for player class. This might be problematic for other classes as well if the spell IDs listed under vanilla are not valid for Cata.
1x Grid2/modules/StatusRange.lua:112: attempt to call upvalue 'getHostile' (a nil value)
[string "@Grid2/modules/StatusRange.lua"]:112: in function `UpdatePlayerRangeSpells'
[string "@Grid2/GridCore.lua"]:290: in function `?'
[string "@Masque/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...que/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Masque/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...que/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Masque/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@ChocolateBar/libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...dOns/ChocolateBar/libs/AceEvent-3.0/AceEvent-3.0.lua:119>```