prevent end all auctions from sending requests into collection (Closes #81)

Took 2 minutes
This commit is contained in:
Kiran Hart 2023-12-06 15:19:55 -05:00
parent 886f0391ec
commit 98d3f865ff
No known key found for this signature in database
GPG Key ID: 5F36C7BC79D3EBC3

View File

@ -163,9 +163,12 @@ public class GUIActiveAuctions extends AbstractPlaceholderGui {
if (Settings.SELLERS_MUST_WAIT_FOR_TIME_LIMIT_AFTER_BID.getBoolean() && item.containsValidBid())
continue;
item.setExpired(true);
if (item.isRequest()) {
AuctionHouse.getInstance().getAuctionItemManager().sendToGarbage(item);
} else {
item.setExpired(true);
}
}
draw();
});
}