3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-12 22:20:08 +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: /redo:
description: Redoes the last action (from history) description: Redoes the last action (from history)
usage: /<command> [times] usage: /<command> [times]
aliases: ['redo']
/undo: /undo:
description: Undoes the last action description: Undoes the last action
usage: /<command> [times] usage: /<command> [times]
aliases: ['undo']
unstuck: unstuck:
description: Escape from being stuck inside a block description: Escape from being stuck inside a block
usage: /<command> usage: /<command>

Datei anzeigen

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