mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 10:28:35 +00:00
Added pine tree tool.
This commit is contained in:
@ -125,6 +125,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("/pinetree", "Switch to the pine tree tool");
|
||||
commands.put("/bigtree", "Switch to the big tree tool");
|
||||
commands.put("/repl", "[ID] - Switch to the block replacer tool");
|
||||
commands.put("/brush", "[ID] <Radius> <NoReplace?> - Switch to the sphere brush tool");
|
||||
@ -684,6 +685,13 @@ public class WorldEditController {
|
||||
player.print("Big tree tool equipped. Right click with a pickaxe.");
|
||||
return true;
|
||||
|
||||
// Pine tree tool
|
||||
} else if (split[0].equalsIgnoreCase("/pinetree")) {
|
||||
checkArgs(split, 0, 0, split[0]);
|
||||
session.setRightClickMode(new PineTreePlanter());
|
||||
player.print("Pine tree 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