Added super pick axe and /..
This commit is contained in:
@ -71,6 +71,7 @@ public class WorldEdit {
|
||||
commands.put("/editpos2", "Set editing position #2");
|
||||
commands.put("/editwand", "Gives you the \"edit wand\"");
|
||||
commands.put("/toggleeditwand", "Toggles edit wand selection");
|
||||
commands.put("/.", "Toggles super pick axe.");
|
||||
commands.put("/editundo", "Undo");
|
||||
commands.put("/editredo", "Redo");
|
||||
commands.put("/clearhistory", "Clear history");
|
||||
@ -259,6 +260,16 @@ public class WorldEdit {
|
||||
}
|
||||
return true;
|
||||
|
||||
// Toggle super pick axe
|
||||
} else if (split[0].equalsIgnoreCase("/.")) {
|
||||
checkArgs(split, 0, 0, split[0]);
|
||||
if (session.toggleSuperPickAxe()) {
|
||||
player.print("Super pick axe enabled.");
|
||||
} else {
|
||||
player.print("Super pick axe disabled.");
|
||||
}
|
||||
return true;
|
||||
|
||||
// Set max number of blocks to change at a time
|
||||
} else if (split[0].equalsIgnoreCase("/editlimit")) {
|
||||
checkArgs(split, 1, 1, split[0]);
|
||||
|
||||
Reference in New Issue
Block a user