7.1 Grid2 Error #491


  • Defect
  • Fixed
Closed
Assigned to michaelsp
  • Teng3n created this issue Oct 25, 2016

    What steps will reproduce the problem?
    1. Bug happens all the time. Even when idling in Dalaran
    2.
    3.

    What is the expected output? What do you see instead?
    Unsure

    What Grid2 version and language of WoW are you using?
    US English r796

    Do you have an error log of what happened?
    185x Grid2\modules\StatusHealth.lua:474: Usage: UnitIsDeadOrGhost("unit")
    [C]:: ?
    Grid2\modules\StatusHealth.lua:474: in function <Grid2\modules\StatusHealth.lua:473>
    [string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
    [C]:: ?
    [string "safecall Dispatcher[1]"]:13: in function '?'
    ...nit\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:90: in function 'Fire'
    ...\AngryAssignments\libs\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <...\AngryAssignments\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

  • Teng3n added the tags New Defect Oct 25, 2016
  • gtosh4 posted a comment Oct 25, 2016

    StatusHealth.lua:474 change to

    local function DeathUpdateUnit(_, unit, noUpdate)
    	if not unit then return end
    

    StatusHealth.lua:31 change to

    local function UpdateIndicators(unit)
    	if not unit then return end
    

    Resolved it for me. I originally did the first, which exposed the 2nd.

  • michaelsp removed a tag New Oct 26, 2016
  • michaelsp added a tag Started Oct 26, 2016
  • michaelsp removed a tag Started Oct 30, 2016
  • michaelsp added a tag Fixed Oct 30, 2016
  • michaelsp closed issue Oct 30, 2016

To post a comment, please login or register a new account.