hitcherland / FoundryVTT-Heart

Basic FoundryVTT System for Heart - The City Beneath
Creative Commons Zero v1.0 Universal
7 stars 14 forks source link

Bug - Item Drag'n'Drop is broken for anything not sourced from the Items Directory or a Compendium #34

Closed stuttste closed 2 years ago

stuttste commented 2 years ago

Drag'n'Drop for items doesn't work as far as I can tell when the item is sourced from anything other than the Items Directory or a compendium (i.e. dragging resources from one actor to another).

Looking through the code, I believe it may have something to do with the linked location. I'm not seeing that hook in the Foundry references and I can't find it as being defined as a custom hook. Did you mean to call dropActorSheetData instead?

https://github.com/hitcherland/FoundryVTT-Heart/blob/219f60f135a632d3bcc20408f83f9836315cad79/src/items/base/sheet.js#L156-L158