aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2023-02-05 22:36:53 +0000
committerGitHub <noreply@github.com>2023-02-05 22:36:53 +0000
commit157bb31d032279a8c3eb370b76ac5c9396821864 (patch)
tree8e7e1840daf7a5c6c7452abbb9aa9bc7e8fd7508 /src/main/java/io
parent37234e6cfbb121459f37dca64d6f7dca1b639e47 (diff)
downloadNotEnoughUpdates-157bb31d032279a8c3eb370b76ac5c9396821864.tar.gz
NotEnoughUpdates-157bb31d032279a8c3eb370b76ac5c9396821864.tar.bz2
NotEnoughUpdates-157bb31d032279a8c3eb370b76ac5c9396821864.zip
i am currently in economics class
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.java2
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;