From d4e711272e1403178b8c3e4746a0cd1b707efa88 Mon Sep 17 00:00:00 2001 From: kandashi Date: Fri, 15 Jan 2021 12:18:11 +0000 Subject: [PATCH] Update aura.js --- src/aura.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aura.js b/src/aura.js index f8e79d5..83b4baf 100644 --- a/src/aura.js +++ b/src/aura.js @@ -141,7 +141,7 @@ Hooks.on("ready", () => { * On creation of active effect on linked actor, run MainAura */ Hooks.on("createActiveEffect", (actor, effect) => { - if (!effect.flags.ActiveAuras.applied && effect.flags.ActiveAuras.isAura) { + if (!effect.flags?.ActiveAuras?.applied && effect.flags?.ActiveAuras?.isAura) { setTimeout(() => { CollateAuras(canvas, true, false) }, 20)