Remove redundant commentary lines
M mods/default/craftitems.lua
This commit is contained in:
parent
54cbb807d6
commit
73d0d21897
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue