From 532c4de8ccd7591ee0a5c0a74fc5c9ace1e42ca8 Mon Sep 17 00:00:00 2001 From: sk89q Date: Tue, 5 Oct 2010 21:16:55 -0700 Subject: [PATCH] Added /editwand. --- src/WorldEdit.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/WorldEdit.java b/src/WorldEdit.java index 2244a8892..3cc78ac79 100644 --- a/src/WorldEdit.java +++ b/src/WorldEdit.java @@ -52,6 +52,7 @@ public class WorldEdit extends Plugin { commands.put("/editpos1", "Set editing position #1"); commands.put("/editpos2", "Set editing position #2"); + commands.put("/editwand", "Gives you the \"edit wand\""); commands.put("/editundo", "Undo"); commands.put("/editredo", "Redo"); commands.put("/clearhistory", "Clear history"); @@ -361,6 +362,12 @@ public class WorldEdit extends Plugin { player.sendMessage(Colors.LightPurple + "Second edit position set."); return true; + // Edit wand + } else if (split[0].equalsIgnoreCase("/editwand")) { + player.giveItem(271, 1); + player.sendMessage(Colors.LightPurple + "Right click = sel. pos 1; double right click = sel. pos 2"); + return true; + // Set max number of blocks to change at a time } else if (split[0].equalsIgnoreCase("/editlimit")) { checkArgs(split, 1, 1, "/editlimit");