mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
New command fix attempt
This commit is contained in:
parent
e0895ef042
commit
f5ded1e50b
@ -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())));
|
||||
|
Loading…
Reference in New Issue
Block a user