From 75b1fe6090e8e936efbcfc17c68141f094c0afee Mon Sep 17 00:00:00 2001 From: sk89q Date: Mon, 30 Jun 2014 23:04:32 -0700 Subject: [PATCH] Added "Usage: " back when handling InvalidUsageException. --- .../com/sk89q/worldedit/extension/platform/CommandManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/extension/platform/CommandManager.java b/src/main/java/com/sk89q/worldedit/extension/platform/CommandManager.java index 94e7dec03..a477043bf 100644 --- a/src/main/java/com/sk89q/worldedit/extension/platform/CommandManager.java +++ b/src/main/java/com/sk89q/worldedit/extension/platform/CommandManager.java @@ -231,7 +231,7 @@ public final class CommandManager { } else { String message = e.getMessage(); actor.printError(message != null ? message : "The command was not used properly (no more help available)."); - actor.printError(e.getSimpleUsageString("/")); + actor.printError("Usage: " + e.getSimpleUsageString("/")); } } catch (WrappedCommandException e) { Throwable t = e.getCause();