mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-22 05:25:11 +01:00
🪧 fix cancel bug with "prevent cancellation of bid on items" setting. Closes #74
Took 1 minute
This commit is contained in:
parent
ab4adc4669
commit
d1066d6948
@ -92,7 +92,7 @@ public class GUIActiveAuctions extends AbstractPlaceholderGui {
|
||||
setButton(slot++, item.getDisplayStack(AuctionStackType.ACTIVE_AUCTIONS_LIST), e -> {
|
||||
switch (e.clickType) {
|
||||
case LEFT:
|
||||
if (Settings.SELLERS_MUST_WAIT_FOR_TIME_LIMIT_AFTER_BID.getBoolean()) {
|
||||
if (Settings.SELLERS_MUST_WAIT_FOR_TIME_LIMIT_AFTER_BID.getBoolean() && item.containsValidBid()) {
|
||||
AuctionHouse.getInstance().getLocale().getMessage("general.cannot cancel item with bid").sendPrefixedMessage(e.player);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user