Allow apply to item system data

This commit is contained in:
Carlos Fernandez 2026-04-25 17:24:09 -04:00
parent 23b0f68954
commit 3d73a08ee0
2 changed files with 2 additions and 8 deletions

View file

@ -165,7 +165,7 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
*/
getRollData(options = {}) {
const data = this.actor?.getRollData() ?? {};
data.item = this;
data.item = shallowCopyWithGetters(this);
return data;
}