Zach-plugins / SellWand

A simple Sell Wand plugin. You could try it.
3 stars 4 forks source link

[Bug] Sellwand Removes Items with No Remaining Uses #3

Closed realdoomsboygaming closed 2 months ago

realdoomsboygaming commented 2 months ago

Server Version: Paper 1.21.1 (Latest Release)
Plugin: EconomyShopGUI (Hooked to shop functionality)
Issue: When using a sellwand with no remaining uses on a valid inventory (e.g., a chest with sellable items), all items in the container are still removed, despite the player being notified that the sellwand has no uses left.


Steps to Reproduce:

  1. Obtain a sellwand with no remaining uses.
  2. Attempt to use it on a chest containing sellable items.
  3. The player receives a message stating there are no uses left.
  4. Despite the message, all sellable items are removed from the chest's inventory.

Expected Behavior:

When a sellwand has no remaining uses, no items should be removed from any inventory.

Actual Behavior:

The items are removed even though the sellwand has no remaining uses.


Additional Information:

zachfr commented 2 months ago

Thanks fixed in last version