From d12bff993b946b6b967d481c0ab1227a0cb62153 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Sun, 21 Aug 2011 22:31:42 +0200 Subject: [PATCH] Added //-prefixed aliases for most /-prefixed commands --- .../worldedit/commands/GeneralCommands.java | 4 ++-- .../worldedit/commands/HistoryCommands.java | 2 +- .../worldedit/commands/UtilityCommands.java | 20 +++++++++---------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/commands/GeneralCommands.java b/src/main/java/com/sk89q/worldedit/commands/GeneralCommands.java index f2561a5b4..2ac39795f 100644 --- a/src/main/java/com/sk89q/worldedit/commands/GeneralCommands.java +++ b/src/main/java/com/sk89q/worldedit/commands/GeneralCommands.java @@ -104,7 +104,7 @@ public class GeneralCommands { } @Command( - aliases = {"toggleplace"}, + aliases = { "/toggleplace", "toggleplace" }, usage = "", desc = "", min = 0, @@ -122,7 +122,7 @@ public class GeneralCommands { } @Command( - aliases = {"searchitem", "/l", "search"}, + aliases = { "/searchitem", "/l", "/search", "searchitem", "search" }, usage = "", flags = "bi", desc = "Search for an item", diff --git a/src/main/java/com/sk89q/worldedit/commands/HistoryCommands.java b/src/main/java/com/sk89q/worldedit/commands/HistoryCommands.java index 35866b111..285943228 100644 --- a/src/main/java/com/sk89q/worldedit/commands/HistoryCommands.java +++ b/src/main/java/com/sk89q/worldedit/commands/HistoryCommands.java @@ -82,7 +82,7 @@ public class HistoryCommands { } @Command( - aliases = {"clearhistory"}, + aliases = { "/clearhistory", "clearhistory" }, usage = "", desc = "Clear your history", min = 0, diff --git a/src/main/java/com/sk89q/worldedit/commands/UtilityCommands.java b/src/main/java/com/sk89q/worldedit/commands/UtilityCommands.java index 6f771498a..aa1134ffd 100644 --- a/src/main/java/com/sk89q/worldedit/commands/UtilityCommands.java +++ b/src/main/java/com/sk89q/worldedit/commands/UtilityCommands.java @@ -119,7 +119,7 @@ public class UtilityCommands { } @Command( - aliases = {"fixlava"}, + aliases = { "/fixlava", "fixlava" }, usage = "", desc = "Fix lava to be stationary", min = 1, @@ -139,7 +139,7 @@ public class UtilityCommands { } @Command( - aliases = {"fixwater"}, + aliases = { "/fixwater", "fixwater" }, usage = "", desc = "Fix water to be stationary", min = 1, @@ -159,7 +159,7 @@ public class UtilityCommands { } @Command( - aliases = {"removeabove"}, + aliases = { "/removeabove", "removeabove" }, usage = "[size] [height] ", desc = "Remove blocks above your head. ", min = 0, @@ -181,7 +181,7 @@ public class UtilityCommands { } @Command( - aliases = {"removebelow"}, + aliases = { "/removebelow", "removebelow" }, usage = "[size] [height] ", desc = "Remove blocks below your head. ", min = 0, @@ -203,7 +203,7 @@ public class UtilityCommands { } @Command( - aliases = {"removenear"}, + aliases = { "/removenear", "removenear" }, usage = " [size] ", desc = "Remove blocks near you.", min = 1, @@ -225,7 +225,7 @@ public class UtilityCommands { } @Command( - aliases = {"replacenear"}, + aliases = { "/replacenear", "replacenear" }, usage = " ", desc = "Replace nearby blocks", min = 3, @@ -258,7 +258,7 @@ public class UtilityCommands { } @Command( - aliases = {"snow"}, + aliases = { "/snow", "snow" }, usage = "[radius]", desc = "Simulates snow", min = 0, @@ -277,7 +277,7 @@ public class UtilityCommands { } @Command( - aliases = {"thaw"}, + aliases = { "/thaw", "thaw" }, usage = "[radius]", desc = "Thaws the area", min = 0, @@ -296,7 +296,7 @@ public class UtilityCommands { } @Command( - aliases = {"green"}, + aliases = { "/green", "green" }, usage = "[radius]", desc = "Greens the area", min = 0, @@ -315,7 +315,7 @@ public class UtilityCommands { } @Command( - aliases = {"ex", "ext", "extinguish"}, + aliases = { "/ex", "/ext", "/extinguish", "ex", "ext", "extinguish" }, usage = "[radius]", desc = "Extinguish nearby fire", min = 0,