Remove redundant commentary lines

M  mods/default/craftitems.lua
This commit is contained in:
Zweihorn 2019-05-22 08:48:22 +02:00 committed by Yves Quemener
parent 6c7f03ce0f
commit 592ed84831
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")