aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.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/miscfeatures/PetInfoOverlay.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/miscfeatures/PetInfoOverlay.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java
index b24af575..f3efa453 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java
@@ -270,7 +270,7 @@ public class PetInfoOverlay extends TextOverlay {
public static Pet getPetFromStack(NBTTagCompound tag) {
if (Constants.PETS == null || Constants.PETS.get("pet_levels") == null ||
Constants.PETS.get("pet_levels") instanceof JsonNull) {
- Utils.showOutdatedRepoNotification();
+ Utils.showOutdatedRepoNotification("pets.json");
return null;
}