hitcherland / FoundryVTT-Heart

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

Unnesesary items in Items tab #59

Closed Robak132 closed 1 year ago

Robak132 commented 1 year ago

There is a weird bug: When you copy items on sheet or copy them between them, you save it to Items tab in world. Can you do something with it?

Wigginns commented 1 year ago

I will take a look at this but for anyone else who comes along this is probably an issue I introduce when trying to fix the fact that you couldn't drag items from a character sheet to the items tab in the world.

Relevant Code

hitcherland commented 1 year ago

I'd guess that you didn't set the item as "temporary" when creating the children somewhere. Should be a very small fix if you can find the spot.

On Fri, Jun 16, 2023, 02:01 Benjamin Cowley @.***> wrote:

I will take a look at this but for anyone else who comes along this is probably an issue I introduce when trying to fix the fact that you couldn't drag items from a character sheet to the items tab in the world.

Relevant Code https://github.com/hitcherland/FoundryVTT-Heart/blob/development/src/actors/base/sheet.js#L154

— Reply to this email directly, view it on GitHub https://github.com/hitcherland/FoundryVTT-Heart/issues/59#issuecomment-1593899330, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGMUBXJWBSL5UXI6GWVB2IDXLOV5LANCNFSM6AAAAAAZIA3SDI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

hitcherland commented 1 year ago

This is fixed in v0.8.4+