Added command flag support, removed / prefix from command handling process.

This commit is contained in:
sk89q
2011-01-29 11:36:28 -08:00
parent d1ff0250aa
commit 059f30808d
16 changed files with 140 additions and 86 deletions

View File

@@ -33,7 +33,7 @@ import com.sk89q.worldedit.data.NestedFileChunkStore;
*/
public class ChunkCommands {
@Command(
aliases = {"/chunkinfo"},
aliases = {"chunkinfo"},
usage = "",
desc = "Get information about the chunk that you are inside",
min = 0,
@@ -58,7 +58,7 @@ public class ChunkCommands {
}
@Command(
aliases = {"/listchunks"},
aliases = {"listchunks"},
usage = "",
desc = "List chunks that your selection includes",
min = 0,
@@ -77,7 +77,7 @@ public class ChunkCommands {
}
@Command(
aliases = {"/delchunks"},
aliases = {"delchunks"},
usage = "",
desc = "Delete chunks that your selection includes",
min = 0,