From f5ded1e50b1f75baf01de6d919d344c1aba9b4c4 Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Wed, 9 Oct 2019 21:43:14 -0400 Subject: [PATCH] New command fix attempt --- .../worldedit/extension/platform/PlatformCommandManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/PlatformCommandManager.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/PlatformCommandManager.java index 8e8f6f331..20503ce7a 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/PlatformCommandManager.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/PlatformCommandManager.java @@ -547,7 +547,7 @@ public final class PlatformCommandManager { if (arg0.startsWith("\\")) { arg0 = arg0.substring(1); } - Optional optional = commandManager.getCommand(arg0.); + Optional optional = commandManager.getCommand(arg0); if (!optional.isPresent()) { System.out.println("No command for '" + arg0 + "' " + StringMan.getString(commandManager.getAllCommands().map( Command::getName).collect(Collectors.toList())));