mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 17:43:53 +01:00
//subdivide: remove debug logging
This commit is contained in:
parent
ef165b9c58
commit
7e02714c86
@ -136,12 +136,6 @@ 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
|
||||||
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
|
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,
|
||||||
string.format("%s%d / %d (~%.2f%%) complete | last chunk: %s, average: %s, ETA: ~%s",
|
string.format("%s%d / %d (~%.2f%%) complete | last chunk: %s, average: %s, ETA: ~%s",
|
||||||
|
Loading…
Reference in New Issue
Block a user