Use ActiveEffect Config for settings as well

This commit is contained in:
Carlos Fernandez 2026-03-20 01:33:06 -04:00
parent 15fc879f9b
commit a09567fbdf
5 changed files with 28 additions and 226 deletions

View file

@ -147,7 +147,7 @@ export default class SettingFeatureConfig extends HandlebarsApplicationMixin(App
const effectIndex = this.move.effects.findIndex(x => x.id === id);
const effect = this.move.effects[effectIndex];
const updatedEffect =
await game.system.api.applications.sheetConfigs.SettingActiveEffectConfig.configure(effect);
await game.system.api.applications.sheetConfigs.ActiveEffectConfig.configureSetting(effect);
if (!updatedEffect) return;
await this.updateMove({