Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 08:32:51 +02:00
Added /editwand.
Dieser Commit ist enthalten in:
Ursprung
c59d77e138
Commit
532c4de8cc
@ -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");
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren