kiranhart / Auction-House

Auction House is a complete auction system for your server.
20 stars 22 forks source link

Prevent cancellation of bid on items error #74

Closed Mystikal1 closed 1 year ago

Mystikal1 commented 1 year ago

Description On v2.103.0 line 309, "prevent cancellation of bid on items". When enabling this setting and reloading the plugin, auction listings that can be bid on that have not yet had a bid placed on them cannot be cancelled individually and an error message will appear saying that items cannot be cancelled that already has a bid. Only through "End all" can the auction listing be removed which will remove every other listing of the owner.

To Reproduce

  1. On v2.103.0 enable the setting prevent cancellation of bid on items and reload
  2. List an item on ah that can be bid on (/ah sell 100 100 10)
  3. Click on "Your Auctions" and attempt to click on the auction listing. An error message should appear.
  4. Click on "End All" to cancel listing.

Expected behavior The item which has not yet had a bid placed on it should be cancellable individually.

Screenshots If applicable, add screenshots to help explain your problem.

Server Information (please complete the following information):

Additional context Add any other context about the problem here.