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
82 stars 48 forks source link

Update TradeListener.java #513

Closed eskabal closed 9 months ago

eskabal commented 9 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.