From b9ba26c2bf8062282f406163b258b65120cdca43 Mon Sep 17 00:00:00 2001 From: Ryder Belserion Date: Thu, 31 Oct 2024 21:19:24 -0400 Subject: [PATCH] set top bid if below 0 to original top bid --- .../com/badbones69/crazyauctions/tasks/objects/AuctionItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper/src/main/java/com/badbones69/crazyauctions/tasks/objects/AuctionItem.java b/paper/src/main/java/com/badbones69/crazyauctions/tasks/objects/AuctionItem.java index 7538e75..3bb39c3 100644 --- a/paper/src/main/java/com/badbones69/crazyauctions/tasks/objects/AuctionItem.java +++ b/paper/src/main/java/com/badbones69/crazyauctions/tasks/objects/AuctionItem.java @@ -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; }