From 1bd7d5b87d62045a53ff6f3ea1b66cf71266610f Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Mon, 13 Mar 2023 21:14:42 +1100 Subject: Fix mod thinking auction errored if the item is only on bin (#657) fix mod thinking auction errored if the item is only on bin --- .../java/io/github/moulberry/notenoughupdates/ItemPriceInformation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/ItemPriceInformation.java b/src/main/java/io/github/moulberry/notenoughupdates/ItemPriceInformation.java index 5c851211..c46b7bb1 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/ItemPriceInformation.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/ItemPriceInformation.java @@ -112,7 +112,7 @@ public class ItemPriceInformation { boolean bazaarItem = bazaarInfo != null; boolean auctionItem = !bazaarItem; - boolean auctionInfoErrored = auctionInfo == null; + boolean auctionInfoErrored = auctionInfo == null && lowestBin < 0; if (auctionItem) { long currentTime = System.currentTimeMillis(); long lastUpdate = NotEnoughUpdates.INSTANCE.manager.auctionManager.getLastLowestBinUpdateTime(); -- cgit