mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Initial v14 fixes
This commit is contained in:
parent
b374070809
commit
1a928e950c
19 changed files with 197 additions and 180 deletions
|
|
@ -415,7 +415,12 @@ export async function createEmbeddedItemWithEffects(actor, baseData, update) {
|
|||
...baseData,
|
||||
id: data.id,
|
||||
uuid: data.uuid,
|
||||
effects: data.effects?.map(effect => effect.toObject())
|
||||
_uuid: data.uuid,
|
||||
effects: data.effects?.map(effect => effect.toObject()),
|
||||
_stats: {
|
||||
...data._stats,
|
||||
compendiumSource: data.pack ? `Compendium.${data.pack}.Item.${data.id}` : null
|
||||
}
|
||||
}
|
||||
]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue