From 1d6937db0cfbf5db5a22b298615550dd41cf7ae6 Mon Sep 17 00:00:00 2001 From: jani270 <69345714+jani270@users.noreply.github.com> Date: Tue, 26 Dec 2023 10:26:23 +0100 Subject: Migrating pv to v2 endpoint (#939) Co-authored-by: efefury <69400149+efefury@users.noreply.github.com> Co-authored-by: Lulonaut --- .../moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java') 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=" ); -- cgit