Move context preparation common to all items into the GenericItemSheet

This commit is contained in:
Oliver-Akins 2024-02-04 21:13:40 -07:00
parent acd4d35da0
commit 23dd021df6
4 changed files with 4 additions and 15 deletions

View file

@ -23,10 +23,6 @@ export class SpellSheet extends GenericItemSheet {
async getData() {
const ctx = await super.getData();
ctx.item = this.item;
ctx.system = this.item.system;
ctx.flags = this.item.flags;
return ctx;
};
};