3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-07-24 19:18:02 +02:00

Added /editwand.

Dieser Commit ist enthalten in:
sk89q 2010-10-05 21:16:55 -07:00
Ursprung c59d77e138
Commit 532c4de8cc

Datei anzeigen

@ -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");