diff options
author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2023-02-05 22:36:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-05 22:36:53 +0000 |
commit | 157bb31d032279a8c3eb370b76ac5c9396821864 (patch) | |
tree | 8e7e1840daf7a5c6c7452abbb9aa9bc7e8fd7508 | |
parent | 37234e6cfbb121459f37dca64d6f7dca1b639e47 (diff) | |
download | NotEnoughUpdates-157bb31d032279a8c3eb370b76ac5c9396821864.tar.gz NotEnoughUpdates-157bb31d032279a8c3eb370b76ac5c9396821864.tar.bz2 NotEnoughUpdates-157bb31d032279a8c3eb370b76ac5c9396821864.zip |
i am currently in economics class
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |