From 387c6e79ba24d3f6de896a23a9fed73acff4a03e Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Wed, 25 Aug 2021 11:10:02 +0200 Subject: [PATCH] Return after invalid plot size --- Core/src/main/java/com/plotsquared/core/command/Auto.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/main/java/com/plotsquared/core/command/Auto.java b/Core/src/main/java/com/plotsquared/core/command/Auto.java index a89ed9494..64c3a254e 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Auto.java +++ b/Core/src/main/java/com/plotsquared/core/command/Auto.java @@ -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];