mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Fixed incorrectly arguments parsing (#773)
This commit is contained in:
parent
0d6c3309e2
commit
649cf28399
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ public abstract class CommandManager {
|
|||
args = new String[0];
|
||||
} else {
|
||||
label = command.substring(0, command.indexOf(" ")).toLowerCase();
|
||||
String argLine = command.substring(command.indexOf(" " + 1));
|
||||
String argLine = command.substring(command.indexOf(" ") + 1);
|
||||
args = argLine.contains(" ") ? argLine.split(" ") : new String[] { argLine };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue