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 | 1746569e1a82d940728fe13e663f368971a96646 (patch) | |
tree | 6fb857208bc453ecdf596d20ebfe2ff19a3b8b9d | |
parent | 209c91d3de0aed2c96384c17be3643f34a6f9f10 (diff) | |
download | Essentials-1746569e1a82d940728fe13e663f368971a96646.tar Essentials-1746569e1a82d940728fe13e663f368971a96646.tar.gz Essentials-1746569e1a82d940728fe13e663f368971a96646.tar.lz Essentials-1746569e1a82d940728fe13e663f368971a96646.tar.xz Essentials-1746569e1a82d940728fe13e663f368971a96646.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. |