//count: improve formatting of output

This commit is contained in:
Starbeamrainbowlabs 2023-05-24 22:20:52 +01:00
parent daad494c7e
commit 1c163186b6
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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"