mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
fix: Unify superpickaxe behavior (#1553)
Fixes https://github.com/IntellectualSites/FastAsyncWorldEdit/issues/1547
This commit is contained in:
parent
d17e3a6555
commit
016b4ba81d
@ -180,8 +180,8 @@ public class ToolUtilCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
name = "/superpickaxe",
|
name = "/",
|
||||||
aliases = {",", "/sp", "/pickaxe", "/"},
|
aliases = {","},
|
||||||
desc = "Toggle the super pickaxe function"
|
desc = "Toggle the super pickaxe function"
|
||||||
)
|
)
|
||||||
@CommandPermissions("worldedit.superpickaxe")
|
@CommandPermissions("worldedit.superpickaxe")
|
||||||
|
@ -474,7 +474,9 @@ public final class PlatformCommandManager {
|
|||||||
);
|
);
|
||||||
registerSubCommands(
|
registerSubCommands(
|
||||||
"superpickaxe",
|
"superpickaxe",
|
||||||
ImmutableList.of("pickaxe", "sp"),
|
//FAWE start - register /<command> commands
|
||||||
|
ImmutableList.of("pickaxe", "/pickaxe", "sp", "/sp"),
|
||||||
|
//FAWE end
|
||||||
"Super-pickaxe commands",
|
"Super-pickaxe commands",
|
||||||
SuperPickaxeCommandsRegistration.builder(),
|
SuperPickaxeCommandsRegistration.builder(),
|
||||||
new SuperPickaxeCommands(worldEdit)
|
new SuperPickaxeCommands(worldEdit)
|
||||||
|
Loading…
Reference in New Issue
Block a user