mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
Remove redundant checks in the tree command (#3716)
This commit is contained in:
parent
e2f17f11d3
commit
a5f8e83e03
1 changed files with 0 additions and 4 deletions
|
@ -32,10 +32,6 @@ public class Commandtree extends EssentialsCommand {
|
||||||
}
|
}
|
||||||
if (args[0].equalsIgnoreCase("jungle")) {
|
if (args[0].equalsIgnoreCase("jungle")) {
|
||||||
tree = TreeType.SMALL_JUNGLE;
|
tree = TreeType.SMALL_JUNGLE;
|
||||||
} else if (args[0].equalsIgnoreCase("acacia")) {
|
|
||||||
tree = TreeType.ACACIA;
|
|
||||||
} else if (args[0].equalsIgnoreCase("birch")) {
|
|
||||||
tree = TreeType.BIRCH;
|
|
||||||
}
|
}
|
||||||
if (tree == null) {
|
if (tree == null) {
|
||||||
throw new NotEnoughArgumentsException();
|
throw new NotEnoughArgumentsException();
|
||||||
|
|
Loading…
Reference in a new issue