From 42795e084139afc8c683af3916d06c790739b23b Mon Sep 17 00:00:00 2001 From: zontreck Date: Tue, 5 Dec 2023 02:16:01 -0700 Subject: [PATCH] Fix typo --- src/main/java/dev/zontreck/ariaslib/args/ArgumentsParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/zontreck/ariaslib/args/ArgumentsParser.java b/src/main/java/dev/zontreck/ariaslib/args/ArgumentsParser.java index 2f24961..5b19a37 100644 --- a/src/main/java/dev/zontreck/ariaslib/args/ArgumentsParser.java +++ b/src/main/java/dev/zontreck/ariaslib/args/ArgumentsParser.java @@ -20,7 +20,7 @@ public class ArgumentsParser { public static Argument parseArgument(String arg) { if (arg.startsWith("--")) { - String[] parts = arg.split("=", 2); + String[] parts = arg.split("=", 1); if (parts.length == 1) { return new Argument(parts[0].substring(2)); } else {