mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 13:11:08 +01:00
Fix dropping features onto item sheets
This commit is contained in:
parent
f680ade1da
commit
62ba5002f9
1 changed files with 2 additions and 1 deletions
|
|
@ -325,7 +325,8 @@ export default function DHApplicationMixin(Base) {
|
||||||
if (data.type === 'ActiveEffect' && data.fromInternal !== this.document.uuid) {
|
if (data.type === 'ActiveEffect' && data.fromInternal !== this.document.uuid) {
|
||||||
this.document.createEmbeddedDocuments('ActiveEffect', [data.data]);
|
this.document.createEmbeddedDocuments('ActiveEffect', [data.data]);
|
||||||
} else {
|
} else {
|
||||||
return super._onDrop(event);
|
// Fallback to super, but note that item sheets do not have this function
|
||||||
|
return super._onDrop?.(event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue