diff options
author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2023-03-13 21:14:42 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-13 11:14:42 +0100 |
commit | 1bd7d5b87d62045a53ff6f3ea1b66cf71266610f (patch) | |
tree | 97625da0c8fb02b559751cff874d456f987f0e2e /src/main/java | |
parent | 8cc2328a97d3b2241f0ab0dca61303f6ec818719 (diff) | |
download | NotEnoughUpdates-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.java | 2 |
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(); |