Always register the database listeners
This commit is contained in:
parent
00829eae04
commit
64029b9508
1 changed files with 1 additions and 2 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue