Added /undo and /redo as aliases.

This commit is contained in:
sk89q 2011-02-18 21:21:07 -08:00
parent 7088fadab8
commit 5642f95962
2 changed files with 4 additions and 2 deletions

View File

@ -81,9 +81,11 @@ commands:
/redo:
description: Redoes the last action (from history)
usage: /<command> [times]
aliases: ['redo']
/undo:
description: Undoes the last action
usage: /<command> [times]
aliases: ['undo']
unstuck:
description: Escape from being stuck inside a block
usage: /<command>

View File

@ -31,7 +31,7 @@ import com.sk89q.worldedit.*;
*/
public class HistoryCommands {
@Command(
aliases = {"/undo"},
aliases = {"/undo", "undo"},
usage = "[times]",
desc = "Undoes the last action",
min = 0,
@ -57,7 +57,7 @@ public class HistoryCommands {
}
@Command(
aliases = {"/redo"},
aliases = {"/redo", "redo"},
usage = "[times]",
desc = "Redoes the last action (from history)",
min = 0,