PwQt / magic-items-2

This module for Foundry VTT and specific for the DnD5e system, adds the ability to create magical items with spells or feats that belong to the item itself, such as staffs or magic wands, which will be automatically inherited from the character who owns the item.
https://github.com/PwQt/magic-items-2
MIT License
18 stars 7 forks source link

[BUG] Item "<item_id>" does not exist! error message on destruction. #75

Closed PwQt closed 6 months ago

PwQt commented 7 months ago

Module Version: v1.6.3

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Create a magic item that will have just one charge and is destroyed on use.
  2. Use that item.
  3. Error message shows after item is removed.

Expected behavior No exception

Browser:

Foundry Version:

Game System: D&D 3.0.3

Additional context First reported in Discord thread

PwQt commented 6 months ago

Closed with 1.7.0