From 19125bee5fd1fddfb4776f7479f69840f3c93622 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Thu, 16 Aug 2018 00:14:03 +1000 Subject: [PATCH] Update Existing pattern usage --- .../java/com/sk89q/worldedit/command/PatternCommands.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/PatternCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/PatternCommands.java index c2883fc5a..ca847e07a 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/PatternCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/PatternCommands.java @@ -48,7 +48,9 @@ public class PatternCommands extends MethodCommands { @Command( aliases = {"#existing", "#*", "*", ".*"}, - desc = "Use the block that is already there") + desc = "Use the block that is already there", + usage = "[properties]" + ) public Pattern existing(Extent extent, @Optional String properties) { // TODO FIXME , @Optional String properties if (properties == null) return new ExistingPattern(extent); return new PropertyPattern(extent).addRegex(".*[" + properties + "]");