mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-14 04:05:44 +01:00
✅ prevent end all auctions from sending requests into collection (Closes #81)
Took 2 minutes
This commit is contained in:
parent
886f0391ec
commit
98d3f865ff
@ -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();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user