mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-07 05:14:16 +02:00
.
This commit is contained in:
parent
cbce821f4d
commit
a842299969
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ export default class ClassSheet extends DHBaseItemSheet {
|
||||||
if (item.system.classIdentifiers.includes(this.document.system.identifier))
|
if (item.system.classIdentifiers.includes(this.document.system.identifier))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
await item.update({ 'system.classIdentifiers': this.document.system.identifier });
|
await item.update({ 'system.classIdentifiers': [...item.system.classIdentifiers, this.document.system.identifier] });
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (['feature', 'ActiveEffect'].includes(itemType)) {
|
else if (['feature', 'ActiveEffect'].includes(itemType)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue