mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 17:43:53 +01:00
//subdivide: print update whent he last chunk is completed
....it's very misleading otherwise.
This commit is contained in:
parent
d2b38d0ea1
commit
358fac7c7c
@ -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 `//forest` command for quickly generating forests
|
||||
- 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)
|
||||
|
@ -136,7 +136,7 @@ worldedit.register_command("subdivide", {
|
||||
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
|
||||
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,
|
||||
msg_prefix
|
||||
..i.." / "..chunks_total.." (~"
|
||||
|
Loading…
Reference in New Issue
Block a user