Fixed some warnings.

This commit is contained in:
TomyLobo
2013-10-20 16:21:10 +02:00
parent 2fdc76a3f9
commit 9e708b70a9
2 changed files with 35 additions and 36 deletions

View File

@ -269,7 +269,7 @@ public class GenerationCommands {
int size = args.argsLength() > 0 ? Math.max(1, args.getInteger(0)) : 10;
TreeGenerator.TreeType type = args.argsLength() > 1 ?
type = TreeGenerator.lookup(args.getString(1))
TreeGenerator.lookup(args.getString(1))
: TreeGenerator.TreeType.TREE;
double density = args.argsLength() > 2 ? args.getDouble(2) / 100 : 0.05;