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(); });