mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-26 06:05:25 +01:00
starting price will be set to min start price or half the buy out if starting price inputed is more than buyout
Took 2 minutes
This commit is contained in:
parent
42ecdd682f
commit
685f9d445b
@ -222,8 +222,7 @@ public final class GUISellAuction extends AbstractPlaceholderGui {
|
||||
|
||||
if (Settings.ALLOW_USAGE_OF_BUY_NOW_SYSTEM.getBoolean() && GUISellAuction.this.allowBuyNow)
|
||||
if (Settings.BASE_PRICE_MUST_BE_HIGHER_THAN_BID_START.getBoolean() && listingAmount >= GUISellAuction.this.binPrice) {
|
||||
AuctionHouse.getInstance().getLocale().getMessage("pricing.basepricetoolow").sendPrefixedMessage(player);
|
||||
return false;
|
||||
listingAmount = GUISellAuction.this.binPrice / 2 <= 0 ? Settings.MIN_AUCTION_START_PRICE.getDouble() : GUISellAuction.this.binPrice / 2;
|
||||
}
|
||||
|
||||
if (listingAmount < Settings.MIN_AUCTION_START_PRICE.getDouble())
|
||||
|
Loading…
Reference in New Issue
Block a user