mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix startIndex for /forge generate position parsing (#4572)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user