Crazy-Crew / CrazyAuctions

A simple auctions plugin where you can sell your items and bid on other items!
https://modrinth.com/plugin/crazyauctions
MIT License
107 stars 64 forks source link

Currency duplication #187

Closed Wisconsie closed 1 day ago

Wisconsie commented 1 week ago

Spark link

No response

Plugin Version

CrazyAuctions-1.6.1

Server Version

1.21.1

Server Platform

Folia

Describe the bug

Hello,

We discovered an interesting bug yesterday. If a player wants to purchase an item in the Auction House (AH) and has the exact same amount of money as the item's cost, they can take the item without losing any money. The seller still receives the money on their end, which effectively duplicates the currency.

This only works if the buyer has the exact same amount of money as the item's price. If they have less or more, there’s no issue.

Thank you !

Steps to reproduce

no step to reproduce, juste need to put an item in the AH and buy with the same amount of currency on the player.

Additional context

No response

Agreements