mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 04:44:16 +02:00
Some fixes
This commit is contained in:
parent
bbbf3fa51d
commit
a923edfa76
2 changed files with 4 additions and 3 deletions
|
|
@ -160,7 +160,8 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
|
|||
*/
|
||||
getRollData(options = {}) {
|
||||
const actorRollData = this.actor?.getRollData() ?? {};
|
||||
const data = { ...actorRollData, item: { ...this } };
|
||||
const data = Object.assign(actorRollData, {});
|
||||
data.item = Object.assign(this, {});
|
||||
return data;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue