vttred / ose

Old-School Essentials – Foundry VTT Edition
https://ose.vtt.red
GNU General Public License v3.0
96 stars 57 forks source link

fix(item): Dragging a container onto itself pops it from inventory sheet #359

Closed bakbakbakbakbak closed 1 year ago

bakbakbakbakbak commented 1 year ago

Resolves #357

This is built upon fixes of item drag'n'drop that I've written for #356. I'll keep this in draft until #356 is merged into 1.8.x as well as the fixes I've yet to create a PR for.

This introduces a simple check that if the item is being dragged onto itself, it does nothing in terms of rearranging the inventory.