From 2c3a11951c35815bb72851c9f3f3d9e6a7af139f Mon Sep 17 00:00:00 2001 From: Kiran Hart Date: Fri, 12 Aug 2022 15:40:59 -0400 Subject: [PATCH] Fixed bug where sell gui would initially use min inc for start, vice versa Took 1 minute --- src/main/java/ca/tweetzy/auctionhouse/guis/GUISellItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ca/tweetzy/auctionhouse/guis/GUISellItem.java b/src/main/java/ca/tweetzy/auctionhouse/guis/GUISellItem.java index e32beb5..63552bc 100644 --- a/src/main/java/ca/tweetzy/auctionhouse/guis/GUISellItem.java +++ b/src/main/java/ca/tweetzy/auctionhouse/guis/GUISellItem.java @@ -119,7 +119,7 @@ public class GUISellItem extends AbstractPlaceholderGui { } public GUISellItem(AuctionPlayer auctionPlayer, ItemStack itemToBeListed) { - this(auctionPlayer, itemToBeListed, Settings.MIN_AUCTION_PRICE.getDouble(), Settings.MIN_AUCTION_INCREMENT_PRICE.getDouble(), Settings.MIN_AUCTION_START_PRICE.getDouble(), false, true, auctionPlayer.getAllowedSellTime(AuctionSaleType.WITHOUT_BIDDING_SYSTEM)); + this(auctionPlayer, itemToBeListed, Settings.MIN_AUCTION_PRICE.getDouble(), Settings.MIN_AUCTION_START_PRICE.getDouble(),Settings.MIN_AUCTION_INCREMENT_PRICE.getDouble(), false, true, auctionPlayer.getAllowedSellTime(AuctionSaleType.WITHOUT_BIDDING_SYSTEM)); } private void draw() {