From fbebcf57c1aee7bacda5b42e34169310858ba69c Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Mon, 29 Mar 2021 17:07:58 +0200 Subject: [PATCH] Fix exporting all plots --- .../java/com/plotsquared/core/command/SchematicCmd.java | 6 +----- Core/src/main/resources/lang/messages_en.json | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/SchematicCmd.java b/Core/src/main/java/com/plotsquared/core/command/SchematicCmd.java index 158147802..f668a5761 100644 --- a/Core/src/main/java/com/plotsquared/core/command/SchematicCmd.java +++ b/Core/src/main/java/com/plotsquared/core/command/SchematicCmd.java @@ -193,14 +193,10 @@ public class SchematicCmd extends SubCommand { player.sendMessage(TranslatableCaption.of("schematics.schematic_exportall_world_args")); player.sendMessage( TranslatableCaption.of("commandconfig.command_syntax"), - Template.of("value", "Use /plot schematic exportall area") + Template.of("value", "Use /plot schematic exportall ") ); return false; } - if (plot.getVolume() > Integer.MAX_VALUE) { - player.sendMessage(TranslatableCaption.of("schematics.schematic_too_large")); - return false; - } PlotArea area = this.plotAreaManager.getPlotAreaByString(args[1]); if (area == null) { player.sendMessage( diff --git a/Core/src/main/resources/lang/messages_en.json b/Core/src/main/resources/lang/messages_en.json index cbe8ee2cb..af96d3aa7 100644 --- a/Core/src/main/resources/lang/messages_en.json +++ b/Core/src/main/resources/lang/messages_en.json @@ -153,7 +153,7 @@ "schematics.schematic_exportall_finished": "Finished mass export.", "schematics.schematic_exportall_single_finished": "Finished export.", "schematic.schematic_exportall_world": "Invalid world.", - "schematics.plot_to_schem": "Plot->Schematic: Found plots...", + "schematics.plot_to_schem": "Plot->Schematic: Found plots...", "error.task_in_process": "Task is already running.", "titles.title_entered_plot": "Plot: ;;", "titles.title_entered_plot_sub": "Owned by ",