From 04bd6a02be849e7ca77da51717a19e1556ca9462 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Wed, 20 Aug 2025 22:46:31 +0200 Subject: [PATCH] Removed outcommented code --- module/data/item/feature.mjs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/module/data/item/feature.mjs b/module/data/item/feature.mjs index b421ad61..6e1aab41 100644 --- a/module/data/item/feature.mjs +++ b/module/data/item/feature.mjs @@ -12,20 +12,6 @@ export default class DHFeature extends BaseDataItem { }); } - // /** @inheritDoc */ - // _initializeSource(data, options={}) { - // const { originItemType, isMulticlass } = data; - // const base = (originItemType && this.parent?.parent?.type === 'character') ? this.parent.parent.items._source.find(x => x.type === originItemType && Boolean(isMulticlass) === x.system.isMulticlass) : null; - // if(base) { - // const feature = base.system.features.find(x => x.item && x.item === this.parent.uuid); - // if(feature && data.identifier !== 'multiclass') { - // data.identifier = feature.type; - // } - // } - - // return super._initializeSource(data, options); - // } - /* -------------------------------------------- */ /**@override */