From 0a01528bd322082dcfa7a100e7aacb799fe8f0c7 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Thu, 29 May 2025 22:49:35 -0600 Subject: [PATCH] Set the correct setting name instead of trying to set a setting with the version name --- module/hooks/ready.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/hooks/ready.mjs b/module/hooks/ready.mjs index b9d5871..33fe483 100644 --- a/module/hooks/ready.mjs +++ b/module/hooks/ready.mjs @@ -31,7 +31,7 @@ Hooks.on(`ready`, () => { // Fire and forget CONFIG.stats.db.migrateData(notif) .then(() => { - game.settings.set(__ID__, __VERSION__); + game.settings.set(__ID__, `lastVersion`, __VERSION__); setTimeout(() => ui.notifications.remove(notif), 500); }); } else {