aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java
index 7db8a21c..7b21e6a1 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java
@@ -729,7 +729,7 @@ public class BasicPage extends GuiProfileViewerPage {
if (Weight.SLAYER_NAMES.contains(slayerNameLower)) {
JsonObject slayerToTier = Constants.LEVELING.getAsJsonObject("slayer_to_highest_tier");
if (slayerToTier == null) {
- Utils.showOutdatedRepoNotification();
+ Utils.showOutdatedRepoNotification("leveling.json");
return;
}
@@ -827,7 +827,7 @@ public class BasicPage extends GuiProfileViewerPage {
if (Constants.WEIGHT == null || Utils.getElement(Constants.WEIGHT, "lily.skills.overall") == null ||
!Utils.getElement(Constants.WEIGHT, "lily.skills.overall").isJsonPrimitive()) {
- Utils.showOutdatedRepoNotification();
+ Utils.showOutdatedRepoNotification("weight.json");
return;
}