mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +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.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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user