mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 07:23:00 +00:00
//subdivide: remove debug logging
This commit is contained in:
parent
ef165b9c58
commit
7e02714c86
1 changed files with 0 additions and 6 deletions
|
@ -136,12 +136,6 @@ 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
|
||||
print("[DEBUG]",
|
||||
i, chunks_total,
|
||||
(i / chunks_total) * 100,
|
||||
wea.human_time(time_this),
|
||||
wea.human_time(time_average),
|
||||
"eta", eta, "[human]", wea.human_time(eta), "end")
|
||||
if worldeditadditions.get_ms_time() - time_last_msg > 2 * 1000 or i == 3 or i == chunks_total then
|
||||
worldedit.player_notify(name,
|
||||
string.format("%s%d / %d (~%.2f%%) complete | last chunk: %s, average: %s, ETA: ~%s",
|
||||
|
|
Loading…
Reference in a new issue