Actually place the debugroadregen blocks

This commit is contained in:
dordsor21 2021-01-04 19:23:31 +00:00
parent 9598416932
commit ec8bdc9af6
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -95,14 +95,14 @@ public class DebugRoadRegen extends SubCommand {
manager.createRoadEast(plot, queue); manager.createRoadEast(plot, queue);
manager.createRoadSouth(plot, queue); manager.createRoadSouth(plot, queue);
manager.createRoadSouthEast(plot, queue); manager.createRoadSouthEast(plot, queue);
player.sendMessage( queue.setCompleteTask(() -> {
TranslatableCaption.of("debugroadregen.regen_done"), ;
Template.of("value", String.valueOf(plot.getId())) player.sendMessage(TranslatableCaption.of("debugroadregen.regen_done"),
); Template.of("value", String.valueOf(plot.getId())));
player.sendMessage( player.sendMessage(TranslatableCaption.of("debugroadregen.regen_all"),
TranslatableCaption.of("debugroadregen.regen_all"), Template.of("value", "/plot regenallroads"));
Template.of("value", "/plot regenallroads") });
); queue.enqueue();
} }
return true; return true;
} }