From 64029b9508df922e471231d05f30317d62dc1ccc Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Mon, 19 May 2025 23:45:16 -0600 Subject: [PATCH] Always register the database listeners --- module/hooks/ready.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/hooks/ready.mjs b/module/hooks/ready.mjs index 0e4a0e5..38980e5 100644 --- a/module/hooks/ready.mjs +++ b/module/hooks/ready.mjs @@ -7,7 +7,6 @@ Hooks.on(`ready`, () => { // Alert GMs when the configured DB is invalid if (!(CONFIG.stats.db.prototype instanceof Database) && game.user.isGM) { ui.notifications.error(`The database handler does not conform to the required heirarchy, the stats tracker module will almost certainly not work correctly.`, { permanent: true }); - } else { - CONFIG.stats.db.registerListeners(); }; + CONFIG.stats.db.registerListeners(); });