diff --git a/src/settings-form-application.mjs b/src/settings-form-application.mjs index bdf8acb..a57d4e9 100644 --- a/src/settings-form-application.mjs +++ b/src/settings-form-application.mjs @@ -105,7 +105,7 @@ export class OronderSettingsFormApplication extends FormApplication { .catch(Logger.error) if (!this.object.guild_name) { - this._set_guild_name(requestOptions) + await this._set_guild_name(requestOptions) } let updated = false diff --git a/src/settings.mjs b/src/settings.mjs index f31bd65..3fad68d 100644 --- a/src/settings.mjs +++ b/src/settings.mjs @@ -7,14 +7,14 @@ export const registerSettings = async () => { scope: "world", type: String, config: false, - default:'' + default: '' }) game.settings.register(MODULE_ID, AUTH, { scope: "world", type: String, config: false, - default:'' + default: '' }) game.settings.register(MODULE_ID, ID_MAP, {