aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2023-10-28 19:57:43 +1100
committerGitHub <noreply@github.com>2023-10-28 10:57:43 +0200
commitaf965ca7b13f5220d97565ee1829043d659a665f (patch)
tree64436475a867d61b1e398082b23eaa6eb1c81b5d /src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java
parentf849c11c4d6fe713ef64d29e4a81c45b219c6c12 (diff)
downloadnotenoughupdates-af965ca7b13f5220d97565ee1829043d659a665f.tar.gz
notenoughupdates-af965ca7b13f5220d97565ee1829043d659a665f.tar.bz2
notenoughupdates-af965ca7b13f5220d97565ee1829043d659a665f.zip
Added logging to repo error popup (#904)
Made the repo error log what file is missing
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java
index dc04fdef..d7eb6adb 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java
@@ -110,7 +110,7 @@ public class ExtraPage extends GuiProfileViewerPage {
float mouseY
) {
if (Constants.PARENTS == null || !Constants.PARENTS.has("ESSENCE_WITHER")) {
- Utils.showOutdatedRepoNotification();
+ Utils.showOutdatedRepoNotification("parents.json or missing ESSENCE_WITHER");
return;
}
@@ -129,7 +129,7 @@ public class ExtraPage extends GuiProfileViewerPage {
TreeMap<String, JsonObject> itemInformation = NotEnoughUpdates.INSTANCE.manager.getItemInformation();
if (!itemInformation.containsKey(essenceName)) {
- Utils.showOutdatedRepoNotification();
+ Utils.showOutdatedRepoNotification(essenceName);
return;
}
String displayName = itemInformation.get(essenceName).getAsJsonObject().get("displayname").getAsString();