aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2023-03-13 21:14:42 +1100
committerGitHub <noreply@github.com>2023-03-13 11:14:42 +0100
commit1bd7d5b87d62045a53ff6f3ea1b66cf71266610f (patch)
tree97625da0c8fb02b559751cff874d456f987f0e2e /src/main/java
parent8cc2328a97d3b2241f0ab0dca61303f6ec818719 (diff)
downloadNotEnoughUpdates-1bd7d5b87d62045a53ff6f3ea1b66cf71266610f.tar.gz
NotEnoughUpdates-1bd7d5b87d62045a53ff6f3ea1b66cf71266610f.tar.bz2
NotEnoughUpdates-1bd7d5b87d62045a53ff6f3ea1b66cf71266610f.zip
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
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/ItemPriceInformation.java2
1 files changed, 1 insertions, 1 deletions
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();