diff options
| author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2023-02-15 19:22:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-15 19:22:52 +0100 |
| commit | 7c0a3b571109969621641d1790ee2efd72e7edf6 (patch) | |
| tree | fd5e2a4164ffbb2be5c26e61681cea371fab7965 /src/main/java/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.java | |
| parent | d3ca199f904cd72e419c6320eda261f023c71937 (diff) | |
| download | notenoughupdates-7c0a3b571109969621641d1790ee2efd72e7edf6.tar.gz notenoughupdates-7c0a3b571109969621641d1790ee2efd72e7edf6.tar.bz2 notenoughupdates-7c0a3b571109969621641d1790ee2efd72e7edf6.zip | |
Pet overlay progress hider, pet icon moved, and neudevtest value (#576)
* Pet overlay progress hider, pet item moved and /neudevtest value <value>
* Bingo has already enough to do.
* Typo.
* Revert "Typo."
This reverts commit b4a1c385e0c410b1e111797b8d39e7ff64b09ef5.
* Revert "Bingo has already enough to do."
This reverts commit 6e004d2d65dff47ea3bee5c5789cb725724df6ed.
* Dynamically used best position for the pet icons (yes, both) and the distance between the two pet tests.
* I hate debugs.
---------
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.java | 9 |
1 files changed, 9 insertions, 0 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 8dda864a..1a1400ab 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 @@ -96,6 +96,8 @@ public class DevTestCommand extends ClientCommandBase { }; private int devFailIndex = 0; + public static int testValue = 0; + public DevTestCommand() { super("neudevtest"); } @@ -279,5 +281,12 @@ public class DevTestCommand extends ClientCommandBase { Utils.addChatMessage("§e[NEU] Changed user agent override to: " + newUserAgent); NotEnoughUpdates.INSTANCE.config.hidden.customUserAgent = newUserAgent; } + if (args.length == 2 && args[0].equalsIgnoreCase("value")) { + try { + testValue = Integer.parseInt(args[1]); + } catch (NumberFormatException e) { + Utils.addChatMessage("NumberFormatException!"); + } + } } } |
