An implementation of the 5th Edition game system for Foundry Virtual Tabletop (http://foundryvtt.com).
MIT License
337
stars
224
forks
source link
[4.1] Bug: Actors and Containers - `_onDropStackConsumables` only stacks Potions of Healing (specifically, `Compendium.dnd5e.items.Item.ytlsBjYsZ7OBSEBs`) #4685
On actors and containers, when you drop a consumable item onto the sheet, it no longer stacks, unless it is the item with source UUID "Compendium.dnd5e.items.Item.ytlsBjYsZ7OBSEBs", i.e. a Potion of Healing.
On actors and containers, when you drop a consumable item onto the sheet, it no longer stacks, unless it is the item with source UUID "Compendium.dnd5e.items.Item.ytlsBjYsZ7OBSEBs", i.e. a Potion of Healing.
https://github.com/foundryvtt/dnd5e/blob/a1d6aa99d377f18654755455ad313585c57a25b1/module/applications/actor/sheet-mixin.mjs#L44
The code in question: