aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/commands/dev
diff options
context:
space:
mode:
authorRoman / Linnea Gräf <roman.graef@gmail.com>2022-11-22 20:22:20 +0100
committerGitHub <noreply@github.com>2022-11-22 20:22:20 +0100
commita17412e1f1c829dd6d085b4849dae4ca571fd16b (patch)
treeaa7b0edebbe8f027d2e093fb534c35fb16a3ec2f /src/main/java/io/github/moulberry/notenoughupdates/commands/dev
parent3d37cee20ddcf92b47144cb1e3ae25785a5e8bc2 (diff)
downloadnotenoughupdates-a17412e1f1c829dd6d085b4849dae4ca571fd16b.tar.gz
notenoughupdates-a17412e1f1c829dd6d085b4849dae4ca571fd16b.tar.bz2
notenoughupdates-a17412e1f1c829dd6d085b4849dae4ca571fd16b.zip
Terrible Kotlin! (#435)
* Terrible Kotlin! You are unloved and everybody dies * Load Kotlin via a Tweaker * Fix version comparison * Allow user to prevent loading of Kotlin libraries using system properties * Remove testing files
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/commands/dev')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.java3
1 files changed, 1 insertions, 2 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 5f1fe191..5ee31aa9 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
@@ -166,8 +166,7 @@ public class DevTestCommand extends ClientCommandBase {
}
if (args.length == 2 && args[0].equalsIgnoreCase("pt")) {
- EnumParticleTypes t = EnumParticleTypes.valueOf(args[1]);
- FishingHelper.type = t;
+ FishingHelper.type = EnumParticleTypes.valueOf(args[1]);
return;
}
if (args.length == 1 && args[0].equalsIgnoreCase("dev")) {