Some refactors

This commit is contained in:
Carlos Fernandez 2026-07-11 18:12:19 -04:00
parent e3e1ae2706
commit c033a578fa
2 changed files with 18 additions and 8 deletions

View file

@ -2,14 +2,9 @@ import { MigrationHandlerBase } from './base.mjs';
export class Migration_2_5_2 extends MigrationHandlerBase {
version = '2.5.2';
documentNames = ['Actor', 'Item'];
/** @protected */
_preMigrate() {
}
async updateEffectSource(effectSource, item) {
/** @inheritdoc */
async updateActiveEffectSource(effectSource, item) {
let shouldUpdate = false;
const newChanges = [];
const srdItem = item?._stats.compendiumSource ?