aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2023-12-26 10:26:23 +0100
committerGitHub <noreply@github.com>2023-12-26 10:26:23 +0100
commit1d6937db0cfbf5db5a22b298615550dd41cf7ae6 (patch)
treef3056f7e3afcd663c0936843f9da3434bb99767e /src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java
parentac96321d82fb8ee9ebc91ce9501ddcd7b649f47d (diff)
downloadnotenoughupdates-1d6937db0cfbf5db5a22b298615550dd41cf7ae6.tar.gz
notenoughupdates-1d6937db0cfbf5db5a22b298615550dd41cf7ae6.tar.bz2
notenoughupdates-1d6937db0cfbf5db5a22b298615550dd41cf7ae6.zip
Migrating pv to v2 endpoint (#939)
Co-authored-by: efefury <69400149+efefury@users.noreply.github.com> Co-authored-by: Lulonaut <lulonaut@lulonaut.tech>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java
index 417ca9e6..038b9e14 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java
@@ -59,7 +59,7 @@ public class ProfileViewerUtils {
public static JsonArray readInventoryInfo(JsonObject profileInfo, String bagName) {
String bytes = Utils.getElementAsString(
- Utils.getElement(profileInfo, bagName + ".data"),
+ Utils.getElement(profileInfo, "inventory.bag_contents." + bagName + ".data"),
"Hz8IAAAAAAAAAD9iYD9kYD9kAAMAPwI/Gw0AAAA="
);