Extra Trees

This commit is contained in:
KHobbits 2012-03-22 17:25:13 +00:00
parent 209c91d3de
commit 1746569e1a
3 changed files with 18 additions and 2 deletions

View file

@ -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();

View file

@ -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();

View file

@ -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.