From 157bb31d032279a8c3eb370b76ac5c9396821864 Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Sun, 5 Feb 2023 22:36:53 +0000 Subject: i am currently in economics class --- .../github/moulberry/notenoughupdates/commands/dev/DevTestCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.java b/src/main/java/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.java index 71faec9e..35474ff3 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.java @@ -254,7 +254,7 @@ public class DevTestCommand extends ClientCommandBase { MiscUtils.copyToClipboard(builder.toString()); Utils.addChatMessage("§e[NEU] Copied tablist to clipboard!"); } - if(args.length >= 1 && args[0].equalsIgnoreCase("useragent")) { + if (args.length >= 1 && args[0].equalsIgnoreCase("useragent")) { String newUserAgent = args.length == 1 ? null : String.join(" ", Arrays.copyOfRange(args, 1, args.length)); Utils.addChatMessage("§e[NEU] Changed user agent override to: " + newUserAgent); NotEnoughUpdates.INSTANCE.config.hidden.customUserAgent = newUserAgent; -- cgit