From af965ca7b13f5220d97565ee1829043d659a665f Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Sat, 28 Oct 2023 19:57:43 +1100 Subject: Added logging to repo error popup (#904) Made the repo error log what file is missing --- .../io/github/moulberry/notenoughupdates/profileviewer/PlayerStats.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/profileviewer/PlayerStats.java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/PlayerStats.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/PlayerStats.java index 0d298a71..809c5fb7 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/PlayerStats.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/PlayerStats.java @@ -165,7 +165,7 @@ public class PlayerStats { public static int getPetScore(JsonObject profile) { JsonObject bonuses = Constants.BONUSES; if (bonuses == null) { - Utils.showOutdatedRepoNotification(); + Utils.showOutdatedRepoNotification("bonuses.json"); return 0; } JsonElement petsElement = Utils.getElement(profile, "pets"); -- cgit