mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2025-02-20 01:54:02 +01:00
//count: improve formatting of output
This commit is contained in:
@ -29,7 +29,7 @@ worldeditadditions_core.register_command("count", {
|
|||||||
)
|
)
|
||||||
if not success then return success, counts end
|
if not success then return success, counts end
|
||||||
|
|
||||||
local result = wea_c.format.make_ascii_table(counts).."\n"..
|
local result = "\n"..wea_c.format.make_ascii_table(counts).."\n"..
|
||||||
string.rep("=", 6 + #tostring(total) + 6).."\n"..
|
string.rep("=", 6 + #tostring(total) + 6).."\n"..
|
||||||
"Total "..total.." nodes\n"
|
"Total "..total.." nodes\n"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user