Changed super axe command to /,.

This commit is contained in:
sk89q 2010-10-14 02:01:10 -07:00
parent 98d1a0be05
commit 9739336730

View File

@ -73,7 +73,7 @@ public class WorldEdit {
commands.put("/editpos2", "Set editing position #2"); commands.put("/editpos2", "Set editing position #2");
commands.put("/editwand", "Gives you the \"edit wand\""); commands.put("/editwand", "Gives you the \"edit wand\"");
commands.put("/toggleeditwand", "Toggles edit wand selection"); commands.put("/toggleeditwand", "Toggles edit wand selection");
commands.put("/.", "Toggles super pick axe."); commands.put("/,", "Toggles super pick axe.");
commands.put("/editundo", "Undo"); commands.put("/editundo", "Undo");
commands.put("/editredo", "Redo"); commands.put("/editredo", "Redo");
commands.put("/clearhistory", "Clear history"); commands.put("/clearhistory", "Clear history");
@ -263,7 +263,7 @@ public class WorldEdit {
return true; return true;
// Toggle super pick axe // Toggle super pick axe
} else if (split[0].equalsIgnoreCase("/.")) { } else if (split[0].equalsIgnoreCase("/,")) {
checkArgs(split, 0, 0, split[0]); checkArgs(split, 0, 0, split[0]);
if (session.toggleSuperPickAxe()) { if (session.toggleSuperPickAxe()) {
player.print("Super pick axe enabled."); player.print("Super pick axe enabled.");