set top bid if below 0 to original top bid

This commit is contained in:
Ryder Belserion 2024-10-31 21:19:24 -04:00
parent 4978f09521
commit b9ba26c2bf
No known key found for this signature in database

View File

@ -105,7 +105,7 @@ public class AuctionItem {
}
public void setTopBid(long topBid) {
if (topBid <= 0L) topBid = 1L;
if (topBid <= 0L) topBid = this.topBid;
this.topBid = topBid;
}