aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/CosmeticsCommand.java
diff options
context:
space:
mode:
authorLulonaut <67191924+Lulonaut@users.noreply.github.com>2022-06-09 08:43:00 +0200
committerGitHub <noreply@github.com>2022-06-09 08:43:00 +0200
commitfe26e98a591bf2cab0c72117f00c43614d41001b (patch)
tree07f7a9c4fce373eb0de586d56395e00b0a434eb9 /src/main/java/io/github/moulberry/notenoughupdates/commands/misc/CosmeticsCommand.java
parent263aa8bc32ec52818f4c6e8c97dd6b8abfd86bec (diff)
downloadnotenoughupdates-fe26e98a591bf2cab0c72117f00c43614d41001b.tar.gz
notenoughupdates-fe26e98a591bf2cab0c72117f00c43614d41001b.tar.bz2
notenoughupdates-fe26e98a591bf2cab0c72117f00c43614d41001b.zip
toggle for fast render warning (#156)
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/commands/misc/CosmeticsCommand.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/commands/misc/CosmeticsCommand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/CosmeticsCommand.java b/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/CosmeticsCommand.java
index 9ccb7cf0..de772d65 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/CosmeticsCommand.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/CosmeticsCommand.java
@@ -18,7 +18,7 @@ public class CosmeticsCommand extends ClientCommandBase {
@Override
public void processCommand(ICommandSender sender, String[] args) throws CommandException {
- if (!OpenGlHelper.isFramebufferEnabled()) {
+ if (!OpenGlHelper.isFramebufferEnabled() && NotEnoughUpdates.INSTANCE.config.notifications.doFastRenderNotif) {
Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(EnumChatFormatting.RED +
"NEU cosmetics do not work with OF Fast Render. Go to ESC > Options > Video Settings > Performance > Fast Render to disable it."));