mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 11:55:38 +01:00
Fix exporting all plots
This commit is contained in:
parent
30d3a458e2
commit
fbebcf57c1
@ -193,14 +193,10 @@ public class SchematicCmd extends SubCommand {
|
|||||||
player.sendMessage(TranslatableCaption.of("schematics.schematic_exportall_world_args"));
|
player.sendMessage(TranslatableCaption.of("schematics.schematic_exportall_world_args"));
|
||||||
player.sendMessage(
|
player.sendMessage(
|
||||||
TranslatableCaption.of("commandconfig.command_syntax"),
|
TranslatableCaption.of("commandconfig.command_syntax"),
|
||||||
Template.of("value", "Use /plot schematic exportall area")
|
Template.of("value", "Use /plot schematic exportall <area>")
|
||||||
);
|
);
|
||||||
return false;
|
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]);
|
PlotArea area = this.plotAreaManager.getPlotAreaByString(args[1]);
|
||||||
if (area == null) {
|
if (area == null) {
|
||||||
player.sendMessage(
|
player.sendMessage(
|
||||||
|
@ -153,7 +153,7 @@
|
|||||||
"schematics.schematic_exportall_finished": "<prefix><gold>Finished mass export.</gold>",
|
"schematics.schematic_exportall_finished": "<prefix><gold>Finished mass export.</gold>",
|
||||||
"schematics.schematic_exportall_single_finished": "<prefix><gold>Finished export.</gold>",
|
"schematics.schematic_exportall_single_finished": "<prefix><gold>Finished export.</gold>",
|
||||||
"schematic.schematic_exportall_world": "<prefix><red>Invalid world.</red>",
|
"schematic.schematic_exportall_world": "<prefix><red>Invalid world.</red>",
|
||||||
"schematics.plot_to_schem": "<dark_aqua>Plot</dark_aqua><dark_gray>-></dark_gray><dark_aqua>Schematic</dark_aqua><dark_gray>: </dark_gray><gray>Found </gray><red><amount></red><gray> plots...</gray>",
|
"schematics.plot_to_schem": "<dark_aqua>Plot</dark_aqua><dark_gray>-></dark_gray><dark_aqua>Schematic</dark_aqua><dark_gray>: </dark_gray><gray>Found </gray><gold><amount></gold><gray> plots...</gray>",
|
||||||
"error.task_in_process": "<prefix><gold>Task is already running.</gold>",
|
"error.task_in_process": "<prefix><gold>Task is already running.</gold>",
|
||||||
"titles.title_entered_plot": "<gold>Plot: <world>;<x>;<z></gold>",
|
"titles.title_entered_plot": "<gold>Plot: <world>;<x>;<z></gold>",
|
||||||
"titles.title_entered_plot_sub": "<dark_aqua>Owned by <owner></dark_aqua>",
|
"titles.title_entered_plot_sub": "<dark_aqua>Owned by <owner></dark_aqua>",
|
||||||
|
Loading…
Reference in New Issue
Block a user