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 e607d93dc..a89ed9494 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Auto.java +++ b/Core/src/main/java/com/plotsquared/core/command/Auto.java @@ -234,7 +234,7 @@ public class Auto extends SubCommand { } } if (size_x < 1 || size_z < 1) { - player.sendMessage(TranslatableCaption.of("error.plot_size")); + player.sendMessage(TranslatableCaption.of("error.plot_size_negative")); } if (args.length > 1) { schematic = args[1]; @@ -244,9 +244,6 @@ public class Auto extends SubCommand { size_x = 1; size_z = 1; schematic = args[0]; - // PlayerFunctions.sendMessage(plr, - // "&cError: Invalid size (X,Y)"); - // return false; } } PlayerAutoPlotEvent event = this.eventDispatcher diff --git a/Core/src/main/resources/lang/messages_en.json b/Core/src/main/resources/lang/messages_en.json index 9bf458c05..8b806d43a 100644 --- a/Core/src/main/resources/lang/messages_en.json +++ b/Core/src/main/resources/lang/messages_en.json @@ -306,7 +306,7 @@ "errors.player_no_plots": "That player does not own any plots.", "errors.wait_for_timer": "A set block timer is bound to either the current plot or you. Please wait for it to finish.", "errors.tile_entity_cap_reached": "The total number of tile entities in this chunk may not exceed .", - "error.plot_size": "Error: size <= 0.", + "error.plot_size_negative": "Error: An input lower or equal to 0 is invalid.", "error.command_went_wrong": "Something went wrong when executing that command.", "errors.not_implemented": "Not implemented.", "errors.stacktrace_begin": "=== Begin of stacktrace ===",