node_distribution: add missing \n

This commit is contained in:
Starbeamrainbowlabs 2021-06-27 23:52:16 +01:00
parent 810d3049ee
commit 624abc899b
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -15,7 +15,7 @@ function worldeditadditions.format.node_distribution(distribution, nodes_total,
local result = worldeditadditions.format.make_ascii_table(distribution_data) local result = worldeditadditions.format.make_ascii_table(distribution_data)
if add_total == true then if add_total == true then
result = result..string.rep("=", 6 + #tostring(nodes_total) + 6).."\n".. result = result.."\n"..string.rep("=", 6 + #tostring(nodes_total) + 6).."\n"..
"Total "..nodes_total.." nodes\n" "Total "..nodes_total.." nodes\n"
end end