From 72a9752820afdd7cfa421547e16bbcf6ef4678ba Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Tue, 14 Jan 2025 00:23:04 +0100 Subject: [PATCH] Fix Hook init usage in v12 --- module/rdd-main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/rdd-main.js b/module/rdd-main.js index e6e0e879..5de3a3cc 100644 --- a/module/rdd-main.js +++ b/module/rdd-main.js @@ -87,9 +87,9 @@ export class SystemReveDeDragon { static start() { const system = new SystemReveDeDragon() - Hooks.once('init', async () => await system.onInit()) + Hooks.once('init', () => system.onInit()) Hooks.once('diceSoNiceReady', (dice3d) => RdDDice.diceSoNiceReady(dice3d)) - Hooks.once('ready', async () => await system.onReady()) + Hooks.once('ready', () => system.onReady()) } constructor() {