From e924a1920e768ab0509b8bcb5b69f68aeca8f56f Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Tue, 1 Sep 2020 00:02:56 +0200 Subject: [PATCH] Add message to rgar --- .../main/java/com/plotsquared/core/command/RegenAllRoads.java | 2 +- Core/src/main/resources/lang/messages_en.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/RegenAllRoads.java b/Core/src/main/java/com/plotsquared/core/command/RegenAllRoads.java index 7b5e0651f..1583e19d2 100644 --- a/Core/src/main/java/com/plotsquared/core/command/RegenAllRoads.java +++ b/Core/src/main/java/com/plotsquared/core/command/RegenAllRoads.java @@ -91,9 +91,9 @@ public class RegenAllRoads extends SubCommand { player.sendMessage(TranslatableCaption.of("errors.invalid_plot_world")); return false; } - //Set chunks = ChunkManager.manager.getChunkChunks(name); player.sendMessage(TranslatableCaption.of("debugroadregen.schematic"), Template.of("command", "/plot createroadschematic")); + player.sendMessage(TranslatableCaption.of("debugroadregen.regenallroads_started")); boolean result = this.hybridUtils.scheduleRoadUpdate(area, height); if (!result) { player.sendMessage(TranslatableCaption.of("debugexec.mass_schematic_update_in_progress")); diff --git a/Core/src/main/resources/lang/messages_en.json b/Core/src/main/resources/lang/messages_en.json index f7e6ac5e3..b625a0d79 100644 --- a/Core/src/main/resources/lang/messages_en.json +++ b/Core/src/main/resources/lang/messages_en.json @@ -297,6 +297,7 @@ "schematics.schematic_road_created": "Saved new road schematic. To test the schematic, fly to a few other plots and run .", "debugroadregen.schematic": "If no schematic is set, the following will not do anything.\n - To set a schematic, stand in a plot and use ", "debugroadregen.regenallroads": "To regenerate all roads: ", + "debugroadregen.regenallroads_started": "PlotSquared will now attempt to generate roads based on your input. This may take a while.", "errors.invalid_player": "Player not found: .", "errors.invalid_player_offline": " must be online.",