mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 15:33:00 +00:00
//subdivide: print update whent he last chunk is completed
....it's very misleading otherwise.
This commit is contained in:
parent
d2b38d0ea1
commit
358fac7c7c
2 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ It's about time I started a changelog! This will serve from now on as the master
|
||||||
- Add `//fillcaves` command - fills in all air nodes beneath non air-nodes
|
- Add `//fillcaves` command - fills in all air nodes beneath non air-nodes
|
||||||
- Add `//forest` command for quickly generating forests
|
- Add `//forest` command for quickly generating forests
|
||||||
- Fix some minor bugs and edge cases
|
- Fix some minor bugs and edge cases
|
||||||
|
- `//subdivide`: Print status update when completing the last chunk
|
||||||
|
|
||||||
|
|
||||||
## v1.8: The Quality of Life Update (17th July 2020)
|
## v1.8: The Quality of Life Update (17th July 2020)
|
||||||
|
|
|
@ -136,7 +136,7 @@ worldedit.register_command("subdivide", {
|
||||||
print("eta", eta, "time_average", time_average, "chunks_left", chunks_total - i)
|
print("eta", eta, "time_average", time_average, "chunks_left", chunks_total - i)
|
||||||
|
|
||||||
-- Send updates every 2 seconds, and after the first 3 chunks are done
|
-- Send updates every 2 seconds, and after the first 3 chunks are done
|
||||||
if worldeditadditions.get_ms_time() - time_last_msg > 2 * 1000 or i == 3 then
|
if worldeditadditions.get_ms_time() - time_last_msg > 2 * 1000 or i == 3 or i == chunks_total then
|
||||||
worldedit.player_notify(name,
|
worldedit.player_notify(name,
|
||||||
msg_prefix
|
msg_prefix
|
||||||
..i.." / "..chunks_total.." (~"
|
..i.." / "..chunks_total.." (~"
|
||||||
|
|
Loading…
Reference in a new issue