Fix item sheets
This commit is contained in:
parent
8a939e84a1
commit
91e5007391
12 changed files with 108 additions and 100 deletions
|
@ -34,13 +34,14 @@ export class DS4ItemSheet extends ItemSheet<ItemSheet.Options, DS4ItemSheetData>
|
|||
|
||||
/** @override */
|
||||
async getData(): Promise<DS4ItemSheetData> {
|
||||
return {
|
||||
const data = {
|
||||
...(await super.getData()),
|
||||
config: DS4,
|
||||
isOwned: this.item.isOwned,
|
||||
actor: this.item.actor,
|
||||
isPhysical: isDS4ItemDataTypePhysical(this.item.data.data),
|
||||
};
|
||||
return data;
|
||||
}
|
||||
|
||||
/** @override */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue