KitCat420 / enhancedcombathud-pf1

GNU Affero General Public License v3.0
0 stars 1 forks source link

Error on non-existent actor in movementHud #10

Closed KitCat420 closed 4 months ago

KitCat420 commented 4 months ago
foundry.js:753 TypeError: Error thrown in hooked function 'bound _onUpdateCombat' for hook 'updateCombat'. Cannot read properties of null (reading 'system')
[Detected 2 packages: enhancedcombathud-pf1, enhancedcombathud]
    at get movementMax [as movementMax] (movementHud.mjs:15:42)
    at get movementColor [as movementColor] (movementHud.js:26:74)
    at Pathfinder1eMovementHud.updateMovement (movementHud.js:48:32)
    at Pathfinder1eMovementHud.updateMovement (movementHud.mjs:19:19)
    at Pathfinder1eMovementHud._onNewRound (movementHud.js:70:10)
    at Pathfinder1eMovementHud._onNewRound (movementHud.mjs:62:19)
    at CoreHUD._onUpdateCombat (hud.js:136:33)
    at #call (foundry.js:730:20)
    at Hooks.callAll (foundry.js:687:17)
    at ClientDatabaseBackend.callback (foundry.js:13738:13)
    at foundry.js:13711:43
    at Array.map (<anonymous>)
    at #handleUpdateDocuments (foundry.js:13711:33)