diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-03-22 17:25:13 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-03-22 17:25:13 +0000 |
commit | d6a0cb0f2e5610994b630bec3e27ff1d7f17300f (patch) | |
tree | 7e213af3f5fe7dd335850163e49ea7f87eaec645 | |
parent | ec9618310afecfeb77d2f3c766e774d780bd4e87 (diff) | |
download | Essentials-d6a0cb0f2e5610994b630bec3e27ff1d7f17300f.tar Essentials-d6a0cb0f2e5610994b630bec3e27ff1d7f17300f.tar.gz Essentials-d6a0cb0f2e5610994b630bec3e27ff1d7f17300f.tar.lz Essentials-d6a0cb0f2e5610994b630bec3e27ff1d7f17300f.tar.xz Essentials-d6a0cb0f2e5610994b630bec3e27ff1d7f17300f.zip |
Extra Trees
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandbigtree.java | 4 | ||||
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandtree.java | 12 | ||||
-rw-r--r-- | Essentials/src/plugin.yml | 4 |
3 files changed, 18 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbigtree.java b/Essentials/src/com/earth2me/essentials/commands/Commandbigtree.java index 78d557934..5dd22503a 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandbigtree.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandbigtree.java @@ -27,6 +27,10 @@ public class Commandbigtree extends EssentialsCommand { tree = TreeType.BIG_TREE; } + else if (args.length > 0 && args[0].equalsIgnoreCase("jungle")) + { + tree = TreeType.JUNGLE; + } else { throw new NotEnoughArgumentsException(); diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtree.java b/Essentials/src/com/earth2me/essentials/commands/Commandtree.java index 20cc9d46f..6c2c15983 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtree.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtree.java @@ -43,6 +43,18 @@ public class Commandtree extends EssentialsCommand { tree = TreeType.BROWN_MUSHROOM; } + else if (args[0].equalsIgnoreCase("jungle")) + { + tree = TreeType.SMALL_JUNGLE; + } + else if (args[0].equalsIgnoreCase("junglebush")) + { + tree = TreeType.JUNGLE_BUSH; + } + else if (args[0].equalsIgnoreCase("swamp")) + { + tree = TreeType.SWAMP; + } else { throw new NotEnoughArgumentsException(); diff --git a/Essentials/src/plugin.yml b/Essentials/src/plugin.yml index 5f2091605..c54e79c12 100644 --- a/Essentials/src/plugin.yml +++ b/Essentials/src/plugin.yml @@ -49,7 +49,7 @@ commands: aliases: [ebroadcast,bcast,ebcast] bigtree: description: Spawn a big tree where you are looking. - usage: /<command> <tree|redwood> + usage: /<command> <tree|redwood|jungle> aliases: [ebigtree] burn: description: Set a player on fire. @@ -387,7 +387,7 @@ commands: aliases: [etptoggle] tree: description: Spawn a tree where you are looking. - usage: /<command> <tree|birch|redwood> + usage: /<command> <tree|birch|redwood|redmushroom|brownmushroom|jungle|junglebush|swamp> aliases: [etree] unban: description: Unbans the specified player. |