Changed super pickaxe command to //.

This commit is contained in:
sk89q 2010-10-18 10:56:09 -07:00
parent 765575b433
commit ca2ed71805

View File

@ -115,7 +115,7 @@ public class WorldEdit {
commands.put("/toggleplace", "Toggle placing at pos #1"); commands.put("/toggleplace", "Toggle placing at pos #1");
commands.put("//wand", "Gives you the \"edit wand\""); commands.put("//wand", "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("//undo", "Undo"); commands.put("//undo", "Undo");
commands.put("//redo", "Redo"); commands.put("//redo", "Redo");
commands.put("/clearhistory", "Clear history"); commands.put("/clearhistory", "Clear history");
@ -347,7 +347,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.");