New command fix attempt

Dieser Commit ist enthalten in:
MattBDev 2019-10-09 21:43:14 -04:00
Ursprung e0895ef042
Commit f5ded1e50b

Datei anzeigen

@ -547,7 +547,7 @@ public final class PlatformCommandManager {
if (arg0.startsWith("\\")) {
arg0 = arg0.substring(1);
}
Optional<Command> optional = commandManager.getCommand(arg0.);
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())));