mirror of
https://github.com/kiranhart/Auction-House.git
synced 2025-02-14 19:01:21 +01:00
ignore the min time limit on custom time value (-t)
Took 2 minutes
This commit is contained in:
parent
c18b7e402f
commit
64e1da88df
@ -259,7 +259,7 @@ public final class CommandSell extends AbstractCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// update the listing time to the max allowed time if it wasn't set using the command flag
|
// update the listing time to the max allowed time if it wasn't set using the command flag
|
||||||
allowedTime = auctionPlayer.getAllowedSellTime(isBiddingItem ? AuctionSaleType.USED_BIDDING_SYSTEM : AuctionSaleType.WITHOUT_BIDDING_SYSTEM);
|
allowedTime = allowedTime != 0 ? allowedTime : auctionPlayer.getAllowedSellTime(isBiddingItem ? AuctionSaleType.USED_BIDDING_SYSTEM : AuctionSaleType.WITHOUT_BIDDING_SYSTEM);
|
||||||
|
|
||||||
if (isBundle) {
|
if (isBundle) {
|
||||||
AuctionHouse.getInstance().getGuiManager().showGUI(player, new GUIBundleCreation(
|
AuctionHouse.getInstance().getGuiManager().showGUI(player, new GUIBundleCreation(
|
||||||
|
Loading…
Reference in New Issue
Block a user