diff options
| author | jani270 <69345714+jani270@users.noreply.github.com> | 2023-12-26 10:26:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-26 10:26:23 +0100 |
| commit | 1d6937db0cfbf5db5a22b298615550dd41cf7ae6 (patch) | |
| tree | f3056f7e3afcd663c0936843f9da3434bb99767e /src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java | |
| parent | ac96321d82fb8ee9ebc91ce9501ddcd7b649f47d (diff) | |
| download | notenoughupdates-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.java | 2 |
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=" ); |
