Add message to rgar

This commit is contained in:
N0tMyFaultOG 2020-09-01 00:02:56 +02:00
parent 311a2ddc75
commit e924a1920e
2 changed files with 2 additions and 1 deletions

View File

@ -91,9 +91,9 @@ public class RegenAllRoads extends SubCommand {
player.sendMessage(TranslatableCaption.of("errors.invalid_plot_world"));
return false;
}
//Set<BlockVector2> 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"));

View File

@ -297,6 +297,7 @@
"schematics.schematic_road_created": "<prefix><gold>Saved new road schematic. To test the schematic, fly to a few other plots and run <command>.</gold>",
"debugroadregen.schematic": "<prefix><red>If no schematic is set, the following will not do anything.</red>\n<gray> - To set a schematic, stand in a plot and use </gray><red><command></red>",
"debugroadregen.regenallroads": "<prefix><red>To regenerate all roads: <command></red>",
"debugroadregen.regenallroads_started": "<prefix><green>PlotSquared will now attempt to generate roads based on your input. This may take a while.</green>",
"errors.invalid_player": "<prefix><red>Player not found: </red><gray><value></gray><red>.</red>",
"errors.invalid_player_offline": "<prefix><gray><player></gray><red> must be online.</red>",