Fix startIndex for /forge generate position parsing (#4572)

This commit is contained in:
Matthew Prenger authored and LexManos committed 2017-12-16 17:02:24 -08:00
1 parent 937b29e49d
commit c0625f71e7
1 file changed
+1 -1
@@ -65,7 +65,7 @@ class CommandGenerate extends CommandBase
throw new WrongUsageException("commands.forge.gen.usage");
}
BlockPos blockpos = parseBlockPos(sender, args, 1, false);
BlockPos blockpos = parseBlockPos(sender, args, 0, false);
int count = parseInt(args[3], 10);
int dim = args.length >= 5 ? parseInt(args[4]) : sender.getEntityWorld().provider.getDimension();
int interval = args.length >= 6 ? parseInt(args[5]) : -1;