mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-25 02:27:33 +01:00
Extra Trees
This commit is contained in:
parent
209c91d3de
commit
1746569e1a
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user