Add newline after dropstring

This commit is contained in:
Wuzzy 2016-08-21 00:25:10 +02:00
parent cdbd01a1bd
commit 8a70bb5b6f

View File

@ -500,11 +500,11 @@ doc.new_category("nodes", {
local count = dropstack:get_count()
local finalstring
if count > 1 then
finalstring = count .. " × "..desc
finalstring = count .. "×"..desc
else
finalstring = desc
end
formstring = formstring .. "This block will drop the following when mined: "..finalstring
formstring = formstring .. "This block will drop the following when mined: "..finalstring.."\n"
end
elseif type(data.def.drop) == "table" and data.def.drop.items ~= nil then
local max = data.def.drop.max_items