fantasycalendar / FoundryVTT-ItemPiles

Other
33 stars 52 forks source link

[BUG] - [DnD5e 2.4.1] - Gold duplication glitch #526

Closed ChobitsCrazy closed 4 months ago

ChobitsCrazy commented 5 months ago

Are you on the latest version of Item Piles? Yes

Have you tried to reset Item Piles' system settings? Yes

Describe the bug When taking gold from a chest, if you leave the default 1/100 and hit the Take button then it adds a single gold to the character's inventory but the chest still shows 1/100. At this point you can input 100/100 and then you end up with 101 gold.

To Reproduce

  1. Create a new container item pile with these settings: image image
  2. Set the item pile on the scene and have a PC interact with it.
  3. Select take when the gold count shows 1/100 and see that you have 1 gold in your inventory and the pile shows 1/100 still. Then change the value to 100/100 and then select take. It empties the pile but you have 101 gold in inventory.

Expected behavior Should not allow to take more gold then what is in the container.

Screenshots image image image

Setup:

Active modules:

Haxxer commented 4 months ago

Fixed in 2.9.0