3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-09 21:10:05 +01:00

Added /undo and /redo as aliases.

Dieser Commit ist enthalten in:
sk89q 2011-02-18 21:21:07 -08:00
Ursprung 7088fadab8
Commit 5642f95962
2 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -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>

Datei anzeigen

@ -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,