mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 15:33:00 +00:00
//subdivide: cosmetic change to update messages
This commit is contained in:
parent
151afadf6c
commit
1179ecb19a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
- `//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
|
- 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)
|
- 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)
|
## v1.10 (16th January 2021)
|
||||||
- `//maze`: Fix some parts of generated mazes staying solid
|
- `//maze`: Fix some parts of generated mazes staying solid
|
||||||
|
|
|
@ -83,7 +83,7 @@ worldedit.register_command("subdivide", {
|
||||||
-- * math.ceil((pos2.y - pos1.y) / (chunk_size.y - 1))
|
-- * math.ceil((pos2.y - pos1.y) / (chunk_size.y - 1))
|
||||||
-- * math.ceil((pos2.z - pos1.z) / (chunk_size.z - 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()
|
local time_last_msg = wea.get_ms_time()
|
||||||
|
|
||||||
wea.subdivide(pos1, pos2, chunk_size, function(cpos1, cpos2, stats)
|
wea.subdivide(pos1, pos2, chunk_size, function(cpos1, cpos2, stats)
|
||||||
|
|
Loading…
Reference in a new issue