Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 02:50:05 +01:00
New command fix attempt
Dieser Commit ist enthalten in:
Ursprung
c928564b59
Commit
e0895ef042
@ -544,7 +544,10 @@ public final class PlatformCommandManager {
|
||||
TaskManager.IMP.taskNow(() -> {
|
||||
int space0 = args.indexOf(' ');
|
||||
String arg0 = space0 == -1 ? args : args.substring(0, space0);
|
||||
Optional<Command> optional = commandManager.getCommand(arg0);
|
||||
if (arg0.startsWith("\\")) {
|
||||
arg0 = arg0.substring(1);
|
||||
}
|
||||
Optional<Command> optional = commandManager.getCommand(arg0.);
|
||||
if (!optional.isPresent()) {
|
||||
System.out.println("No command for '" + arg0 + "' " + StringMan.getString(commandManager.getAllCommands().map(
|
||||
Command::getName).collect(Collectors.toList())));
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren