erikzimmermann / TradeSystem

A highly customizable, free and open-source Minecraft plugin for trading between players.
https://www.spigotmc.org/resources/trade-system-custom-layouts.58434/
MIT License
77 stars 47 forks source link

Update TradeListener.java #513

Closed eskabal closed 6 months ago

eskabal commented 6 months ago

In short, there is a risk that the PlayerPickupItemEvent event may be unintentionally canceled even when the player is not engaged in a trade, potentially leading to the duplication of items under specific conditions.