Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Fixed incorrectly arguments parsing (#773)
Dieser Commit ist enthalten in:
Ursprung
0d6c3309e2
Commit
649cf28399
@ -75,7 +75,7 @@ public abstract class CommandManager {
|
|||||||
args = new String[0];
|
args = new String[0];
|
||||||
} else {
|
} else {
|
||||||
label = command.substring(0, command.indexOf(" ")).toLowerCase();
|
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 };
|
args = argLine.contains(" ") ? argLine.split(" ") : new String[] { argLine };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren