mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Added /undo and /redo as aliases.
This commit is contained in:
parent
7088fadab8
commit
5642f95962
@ -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>
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user