aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
diff options
context:
space:
mode:
authorOliver <42757516+carelesshippo@users.noreply.github.com>2021-04-17 17:39:32 -0600
committerGitHub <noreply@github.com>2021-04-17 17:39:32 -0600
commit59d3bf67d93d0204d0dc493508d9d9c2a24cd10b (patch)
tree651eb8e6b6431c813e4dcfb9272a3933fabb6f1d /src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
parent52182481737f4e8aea7f9fa6f0d14883031ca22d (diff)
parent03b9a8dbcc1ebd5f8c39e4733a741a4092ab0a1d (diff)
downloadnotenoughupdates-59d3bf67d93d0204d0dc493508d9d9c2a24cd10b.tar.gz
notenoughupdates-59d3bf67d93d0204d0dc493508d9d9c2a24cd10b.tar.bz2
notenoughupdates-59d3bf67d93d0204d0dc493508d9d9c2a24cd10b.zip
Merge pull request #1 from Moulberry/master
PRE26
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
index c61a0914..b2b19189 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
@@ -398,7 +398,7 @@ public class ProfileViewer {
JsonObject bzInfo2 = manager.auctionManager.getBazaarInfo(internalname2);
int auctionPrice2;
- if(bzInfo2 != null && bzInfo.has("curr_sell")) {
+ if(bzInfo2 != null && bzInfo2.has("curr_sell")) {
auctionPrice2 = (int)bzInfo2.get("curr_sell").getAsFloat();
} else {
auctionPrice2 = (int)manager.auctionManager.getItemAvgBin(internalname2);