mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +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("\\")) {
|
if (arg0.startsWith("\\")) {
|
||||||
arg0 = arg0.substring(1);
|
arg0 = arg0.substring(1);
|
||||||
}
|
}
|
||||||
Optional<Command> optional = commandManager.getCommand(arg0.);
|
Optional<Command> optional = commandManager.getCommand(arg0);
|
||||||
if (!optional.isPresent()) {
|
if (!optional.isPresent()) {
|
||||||
System.out.println("No command for '" + arg0 + "' " + StringMan.getString(commandManager.getAllCommands().map(
|
System.out.println("No command for '" + arg0 + "' " + StringMan.getString(commandManager.getAllCommands().map(
|
||||||
Command::getName).collect(Collectors.toList())));
|
Command::getName).collect(Collectors.toList())));
|
||||||
|
Loading…
Reference in New Issue
Block a user