Return after invalid plot size

This commit is contained in:
NotMyFault 2021-08-25 11:10:02 +02:00
parent e3e00d34ef
commit 387c6e79ba
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -235,6 +235,7 @@ public class Auto extends SubCommand {
}
if (size_x < 1 || size_z < 1) {
player.sendMessage(TranslatableCaption.of("error.plot_size_negative"));
return true;
}
if (args.length > 1) {
schematic = args[1];