From 5642f959629c33dce8440167a379794040a18e06 Mon Sep 17 00:00:00 2001 From: sk89q Date: Fri, 18 Feb 2011 21:21:07 -0800 Subject: [PATCH] Added /undo and /redo as aliases. --- plugin.yml | 2 ++ src/com/sk89q/worldedit/commands/HistoryCommands.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugin.yml b/plugin.yml index b2ae73e93..4bfb014df 100644 --- a/plugin.yml +++ b/plugin.yml @@ -81,9 +81,11 @@ commands: /redo: description: Redoes the last action (from history) usage: / [times] + aliases: ['redo'] /undo: description: Undoes the last action usage: / [times] + aliases: ['undo'] unstuck: description: Escape from being stuck inside a block usage: / diff --git a/src/com/sk89q/worldedit/commands/HistoryCommands.java b/src/com/sk89q/worldedit/commands/HistoryCommands.java index 02f5d3eeb..0fb8a4f2c 100644 --- a/src/com/sk89q/worldedit/commands/HistoryCommands.java +++ b/src/com/sk89q/worldedit/commands/HistoryCommands.java @@ -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,