mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 12:25:46 +01:00
Actually place the debugroadregen blocks
This commit is contained in:
parent
9598416932
commit
ec8bdc9af6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user