diff options
| author | Lulonaut <67191924+Lulonaut@users.noreply.github.com> | 2022-06-22 14:41:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-22 14:41:15 +0200 |
| commit | f34220a92af85a33d979edb24ac5c3e698498fe3 (patch) | |
| tree | d36bcc12b1fd4116003c1c36cb09666f0e3f36c1 /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java | |
| parent | 439fc22ff04b0f5b0201c2d982bceb18d82fd553 (diff) | |
| download | notenoughupdates-f34220a92af85a33d979edb24ac5c3e698498fe3.tar.gz notenoughupdates-f34220a92af85a33d979edb24ac5c3e698498fe3.tar.bz2 notenoughupdates-f34220a92af85a33d979edb24ac5c3e698498fe3.zip | |
bug fixes (#172)
* yikes
* cookie warning
* better wording in docs
* edit items in parent that are the bounds of the item list
* totalCount not updating when not present
* unplayable
* comment?
* outdated repo notification
* more notification
* crash
* more crash
* cookie bug
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.java | 7 |
1 files changed, 1 insertions, 6 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 4cf076d8..e910a802 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java @@ -639,12 +639,7 @@ public class PetInfoOverlay extends TextOverlay { public static Pet getPetFromStack(String name, String[] lore) { if (Constants.PETS == null || Constants.PETS.get("pet_levels") == null || Constants.PETS.get("pet_levels") instanceof JsonNull) { - Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText( - "\u00a7cInvalid PET constants. Please run " + EnumChatFormatting.BOLD + "/neuresetrepo" + - EnumChatFormatting.RESET + EnumChatFormatting.RED + " and " + EnumChatFormatting.BOLD + "restart your game" + - EnumChatFormatting.RESET + EnumChatFormatting.RED + " in order to fix. " + EnumChatFormatting.DARK_RED + - EnumChatFormatting.BOLD + "If that doesn't fix it" + EnumChatFormatting.RESET + EnumChatFormatting.RED + - ", please join discord.gg/moulberry and post in #neu-support")); + Utils.showOutdatedRepoNotification(); return null; } |
