aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2024-03-18 18:31:00 +0100
committerGitHub <noreply@github.com>2024-03-18 18:31:00 +0100
commitc5577d5bc26265da37f6985a8b27f01f7cebe69f (patch)
tree84ed93cb5a346a4b1e35516f1bf60a90012d52bc /src/main/java
parentcde383d3af47532b62bd8aa13b57f962b43ad55d (diff)
downloadNotEnoughUpdates-c5577d5bc26265da37f6985a8b27f01f7cebe69f.tar.gz
NotEnoughUpdates-c5577d5bc26265da37f6985a8b27f01f7cebe69f.tar.bz2
NotEnoughUpdates-c5577d5bc26265da37f6985a8b27f01f7cebe69f.zip
Add profile specific secrets in PV (#1056)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/DungeonPage.java2
1 files changed, 1 insertions, 1 deletions
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;