From 358fac7c7c560fa7c5da260b1401665e23339a83 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 20 Sep 2020 17:38:58 +0100 Subject: [PATCH] //subdivide: print update whent he last chunk is completed ....it's very misleading otherwise. --- CHANGELOG.md | 1 + worldeditadditions_commands/commands/meta/subdivide.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33f4fe0..3a919a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/worldeditadditions_commands/commands/meta/subdivide.lua b/worldeditadditions_commands/commands/meta/subdivide.lua index a67f5e0..e9decbc 100644 --- a/worldeditadditions_commands/commands/meta/subdivide.lua +++ b/worldeditadditions_commands/commands/meta/subdivide.lua @@ -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.." (~"