Remove redundant commentary lines

M  mods/default/craftitems.lua
This commit is contained in:
Zweihorn 2019-05-22 08:48:22 +02:00
parent 54cbb807d6
commit 73d0d21897
1 changed files with 0 additions and 2 deletions

View File

@ -111,8 +111,6 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
if #short_title > short_title_size + 3 then
short_title = short_title:sub(1, short_title_size) .. "..."
end
-- Make description appropriate to intllib
-- data.description = "\""..short_title.."\" by "..data.owner
data.description = S("\"@1\" by @2", short_title, data.owner)
data.text = fields.text:sub(1, max_text_size)
data.text = data.text:gsub("\r\n", "\n"):gsub("\r", "\n")