mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Return after invalid plot size
This commit is contained in:
parent
e3e00d34ef
commit
387c6e79ba
@ -235,6 +235,7 @@ public class Auto extends SubCommand {
|
|||||||
}
|
}
|
||||||
if (size_x < 1 || size_z < 1) {
|
if (size_x < 1 || size_z < 1) {
|
||||||
player.sendMessage(TranslatableCaption.of("error.plot_size_negative"));
|
player.sendMessage(TranslatableCaption.of("error.plot_size_negative"));
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
if (args.length > 1) {
|
if (args.length > 1) {
|
||||||
schematic = args[1];
|
schematic = args[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user