diff options
| author | Walker Selby <git@walkerselby.com> | 2022-10-19 15:07:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-20 00:07:27 +0200 |
| commit | 498b8d8a7dbef859cd5829fceee7f83dbe69d870 (patch) | |
| tree | c2e0895b58da61de7be3aa7369a52cfa8cf09e46 /src/main/java/io/github/moulberry/notenoughupdates/commands/profile/ViewProfileCommand.java | |
| parent | 90d3fcd1667f12fe0bfe3e311c4739266274a620 (diff) | |
| download | notenoughupdates-498b8d8a7dbef859cd5829fceee7f83dbe69d870.tar.gz notenoughupdates-498b8d8a7dbef859cd5829fceee7f83dbe69d870.tar.bz2 notenoughupdates-498b8d8a7dbef859cd5829fceee7f83dbe69d870.zip | |
Miscellaneous Typos (#339)
Co-authored-by: MicrocontrollersDev <66657148+MicrocontrollersDev@users.noreply.github.com>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/commands/profile/ViewProfileCommand.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/commands/profile/ViewProfileCommand.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/commands/profile/ViewProfileCommand.java b/src/main/java/io/github/moulberry/notenoughupdates/commands/profile/ViewProfileCommand.java index e4ca497c..887cd28f 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/commands/profile/ViewProfileCommand.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/commands/profile/ViewProfileCommand.java @@ -39,18 +39,18 @@ public class ViewProfileCommand extends ClientCommandBase { public static final Consumer<String[]> RUNNABLE = (args) -> { if (!OpenGlHelper.isFramebufferEnabled()) { Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + - "Some parts of the profile viewer do not work with OF Fast Render. Go to ESC > Options > Video Settings > Performance > Fast Render to disable it.")); + "Some parts of the profile viewer do not work with OptiFine Fast Render. Go to ESC > Options > Video Settings > Performance > Fast Render to disable it.")); } if (NotEnoughUpdates.INSTANCE.config.apiData.apiKey == null || NotEnoughUpdates.INSTANCE.config.apiData.apiKey.trim().isEmpty()) { Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + - "Can't view profile, apikey is not set. Run /api new and put the result in settings.")); + "Can't view profile, an API key is not set. Run /api new and put the result in settings.")); } else if (args.length == 0) { NotEnoughUpdates.profileViewer.getProfileByName(Minecraft.getMinecraft().thePlayer.getName(), profile -> { if (profile == null) { Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + - "Invalid player name/api key. Maybe api is down? Try /api new.")); + "Invalid player name/API key. Maybe the API is down? Try /api new.")); } else { profile.resetCache(); NotEnoughUpdates.INSTANCE.openGui = new GuiProfileViewer(profile); @@ -63,7 +63,7 @@ public class ViewProfileCommand extends ClientCommandBase { NotEnoughUpdates.profileViewer.getProfileByName(args[0], profile -> { if (profile == null) { Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + - "Invalid player name/api key. Maybe api is down? Try /api new.")); + "Invalid player name/api key. Maybe the API is down? Try /api new.")); } else { profile.resetCache(); NotEnoughUpdates.INSTANCE.openGui = new GuiProfileViewer(profile); |
