From c5577d5bc26265da37f6985a8b27f01f7cebe69f Mon Sep 17 00:00:00 2001 From: jani270 <69345714+jani270@users.noreply.github.com> Date: Mon, 18 Mar 2024 18:31:00 +0100 Subject: Add profile specific secrets in PV (#1056) --- .../io/github/moulberry/notenoughupdates/profileviewer/DungeonPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/DungeonPage.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/DungeonPage.java index edfebdce..27f64307 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/DungeonPage.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/DungeonPage.java @@ -351,7 +351,7 @@ public class DungeonPage extends GuiProfileViewerPage { // Random stats float secrets = -1; if (hypixelInfo != null) { - secrets = Utils.getElementAsFloat(Utils.getElement(hypixelInfo, "achievements.skyblock_treasure_hunter"), 0); + secrets = Utils.getElementAsFloat(Utils.getElement(profileInfo, "dungeons.secrets"), 0); } float totalRunsF = 0; float totalRunsF5 = 0; -- cgit