noahbclarkson / Auto-Tune

Automatic Minecraft Economy Plugin
https://scottborland.github.io/AutoTuneWebsite/
GNU General Public License v3.0
123 stars 25 forks source link

[BUG] Sell deletes rejected items if inventory is full #85

Open Gabo6480 opened 2 years ago

Gabo6480 commented 2 years ago

Describe the bug If you try to sell an item stack through the sell interface, and the sell gets rejected, BUT your inventory space gets filled in the meantime, the rejected item stack is deleted.

Steps To Reproduce 1.- Open the sell interface. 2.- Place unsellable items on the interface for sale. 3.- Without finishing the sale, fill your inventory through any means. 4.- Close the sale and have the items rejected. 5.- Not profit.

Expected behavior I either expect items not being able to enter the inventory, OR, having rejected items dropped around the player.

Minecraft Server Version 1.19.

Auto-Tune-Version 0.14.0.