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.createRoadSouth(plot, queue);
manager.createRoadSouthEast(plot, queue);
player.sendMessage(
TranslatableCaption.of("debugroadregen.regen_done"),
Template.of("value", String.valueOf(plot.getId()))
);
player.sendMessage(
TranslatableCaption.of("debugroadregen.regen_all"),
Template.of("value", "/plot regenallroads")
);
queue.setCompleteTask(() -> {
;
player.sendMessage(TranslatableCaption.of("debugroadregen.regen_done"),
Template.of("value", String.valueOf(plot.getId())));
player.sendMessage(TranslatableCaption.of("debugroadregen.regen_all"),
Template.of("value", "/plot regenallroads"));
});
queue.enqueue();
}
return true;
}