Finish removing the Range bucket type that was accidentally still able to be created

This commit is contained in:
Oliver-Akins 2025-06-02 19:26:43 -06:00
parent 3fc8b654c7
commit 8f993adb47
6 changed files with 34 additions and 52 deletions

View file

@ -29,10 +29,10 @@ Hooks.on(`ready`, () => {
);
// Fire and forget
CONFIG.stats.db.migrateData(notif)
CONFIG.stats.db.migrateData(lastVersion, notif)
.then(() => {
game.settings.set(__ID__, `lastVersion`, __VERSION__);
setTimeout(() => ui.notifications.remove(notif), 500);
setTimeout(() => ui.notifications.remove(notif), 5_000);
});
} else {
ui.notifications.error(