Skip to content

Commit

Permalink
Update aura.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kandashi committed Jan 15, 2021
1 parent 021b18a commit d4e7112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aura.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d4e7112

Please sign in to comment.