From 1bc141d91a6f587ec080a2c9d219086055e2b94b Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Sat, 3 Feb 2024 17:50:01 -0700 Subject: [PATCH] Remove data migration stuff that doesn't need to exist --- module/documents/Actor/Mob.mjs | 2 +- module/documents/Item/Handler.mjs | 5 ----- module/documents/Item/Spell.mjs | 11 +---------- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/module/documents/Actor/Mob.mjs b/module/documents/Actor/Mob.mjs index 7c645e4..ff8b4c5 100644 --- a/module/documents/Actor/Mob.mjs +++ b/module/documents/Actor/Mob.mjs @@ -1 +1 @@ -export default {}; \ No newline at end of file +export default {}; diff --git a/module/documents/Item/Handler.mjs b/module/documents/Item/Handler.mjs index c072abd..b16e3dc 100644 --- a/module/documents/Item/Handler.mjs +++ b/module/documents/Item/Handler.mjs @@ -17,11 +17,6 @@ export class ItemHandler extends Item { return this.proxyTargets[this.type]; }; - async migrateSystemData() { - if (!this.fn?.migrateSystemData) return; - this.fn?.migrateSystemData.bind(this)(); - }; - async proxyFunction(funcName, ...args) { if (!this.fn?.[funcName]) return; return await this.fn?.[funcName].bind(this)(...args); diff --git a/module/documents/Item/Spell.mjs b/module/documents/Item/Spell.mjs index ea7da45..ff8b4c5 100644 --- a/module/documents/Item/Spell.mjs +++ b/module/documents/Item/Spell.mjs @@ -1,10 +1 @@ -import { ItemHandler } from "./Handler.mjs"; - -/** @this {ItemHandler} */ -async function migrateSystemData() { - this.system -}; - -export default { - migrateSystemData, -}; +export default {};