Ascension-Addons / WeakAuras

WeakAuras Backport for Ascension.gg
GNU General Public License v2.0
0 stars 5 forks source link

Adding Time Remaining to a cooldown trigger crashes #9

Closed codesilven closed 1 year ago

codesilven commented 1 year ago

Description

Using this setup or anything similar gives an error by comparing to nil.

Realm

Area 52 (Default)

Tested with only this addon

Lua Error

Message: [string "Error in: New"]:26: attempt to compare number with nil Time: 06/14/23 19:41:37 Count: 1 Stack: Interface\AddOns\WeakAuras\GenericTrigger.lua:617: in function <Interface\AddOns\WeakAuras\GenericTrigger.lua:539> Interface\AddOns\WeakAuras\GenericTrigger.lua:777: in function ScanEventsInternal' Interface\AddOns\WeakAuras\GenericTrigger.lua:735: in functionScanEvents' Interface\AddOns\WeakAuras\GenericTrigger.lua:2260: in function CheckSpellCooldown' Interface\AddOns\WeakAuras\GenericTrigger.lua:2271: in functionCheckSpellCooldows' Interface\AddOns\WeakAuras\GenericTrigger.lua:2398: in function `CheckCooldownReady' Interface\AddOns\WeakAuras\GenericTrigger.lua:1952: in function <Interface\AddOns\WeakAuras\GenericTrigger.lua:1946>

Reproduction Steps

Screenshot.

Last Good Version

3.3.something

Screenshots

image