mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 10:38:34 +00:00
/tree now makes regular tree and /bigtree makes big trees.
This commit is contained in:
@ -134,6 +134,7 @@ public class WorldEditController {
|
||||
commands.put("/none", "Switch to no tool");
|
||||
commands.put("/info", "Switch to the info tool");
|
||||
commands.put("/tree", "Switch to the tree tool");
|
||||
commands.put("/bigtree", "Switch to the big tree tool");
|
||||
commands.put("/repl", "[ID] - Switch to the block replacer tool");
|
||||
commands.put("//expand", "[Num] <Dir> - Expands the selection");
|
||||
commands.put("//contract", "[Num] <Dir> - Contracts the selection");
|
||||
@ -684,6 +685,13 @@ public class WorldEditController {
|
||||
player.print("Tree tool equipped. Right click with a pickaxe.");
|
||||
return true;
|
||||
|
||||
// Big tree tool
|
||||
} else if (split[0].equalsIgnoreCase("/bigtree")) {
|
||||
checkArgs(split, 0, 0, split[0]);
|
||||
session.setTool(new BigTreePlanter());
|
||||
player.print("Big tree tool equipped. Right click with a pickaxe.");
|
||||
return true;
|
||||
|
||||
// Info tool
|
||||
} else if (split[0].equalsIgnoreCase("/info")) {
|
||||
checkArgs(split, 0, 0, split[0]);
|
||||
|
Reference in New Issue
Block a user