New command fix attempt

This commit is contained in:
MattBDev 2019-10-09 21:43:14 -04:00
parent e0895ef042
commit f5ded1e50b

View File

@ -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())));