diff --git a/scripts/sequencer-db.js b/scripts/sequencer-db.js index 7c65e58..25a81f5 100644 --- a/scripts/sequencer-db.js +++ b/scripts/sequencer-db.js @@ -1,5 +1,4 @@ -Hooks.once('ready', () => { - if (game.modules.get("sequencer")?.active) { +Hooks.once('sequencer.ready', () => { const PATH = "modules/animated-spell-effects-cartoon/spell-effects/cartoon"; const cartoonDatabase = { "air": { @@ -929,5 +928,5 @@ Hooks.once('ready', () => { }, }; Sequencer.Database.registerEntries('animated-spell-effects-cartoon', cartoonDatabase); - } -}); \ No newline at end of file + +});