Open HeroicCookie opened 4 months ago
If you have two items in a character sheet and drag one on top of the other, it deletes the item you dragged on top of.
In the actor-sheet.js, change the _onDropItem function to include the following line after getting the item data:
if (this.actor == originalActor) return;
I'm not maintaining this anymore. Feel free to fork, though.
If you have two items in a character sheet and drag one on top of the other, it deletes the item you dragged on top of.
In the actor-sheet.js, change the _onDropItem function to include the following line after getting the item data:
if (this.actor == originalActor) return;