//subdivide: cosmetic change to update messages

This commit is contained in:
Starbeamrainbowlabs 2021-02-07 02:59:41 +00:00
parent 151afadf6c
commit 1179ecb19a
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ It's about time I started a changelog! This will serve from now on as the main c
- `//subdivide`: Fix performance & memory usage issues
- If you encounter any other issues with it over large areas (particularly 2000x150x2000 and larger), please let me know
- Bugfix: Fix obscure crash in calls to `human_size` ("unknown" will now be returned if passed junk)
- `//many` can now be used with commands with no arguments.
## v1.10 (16th January 2021)
- `//maze`: Fix some parts of generated mazes staying solid

View File

@ -83,7 +83,7 @@ worldedit.register_command("subdivide", {
-- * math.ceil((pos2.y - pos1.y) / (chunk_size.y - 1))
-- * math.ceil((pos2.z - pos1.z) / (chunk_size.z - 1))
local msg_prefix = "[ subdivide | "..table.concat({cmd_name, args}, " ").." ] "
local msg_prefix = "[ subdivide | "..wea.trim(table.concat({cmd_name, args}, " ")).." ] "
local time_last_msg = wea.get_ms_time()
wea.subdivide(pos1, pos2, chunk_size, function(cpos1, cpos2, stats)