format text message "too much lines"

This commit is contained in:
adrido 2015-04-26 10:50:04 +02:00
parent 0f7badedd9
commit bd9707abfe

View File

@ -122,7 +122,7 @@ arrow_signs.savetext = function(pos, formname, fields, sender)
local text,lines = arrow_signs.create_lines(fields.text)
meta:set_string("infotext", '"'..text..'"')
if lines > 4 then
minetest.chat_send_player(sender:get_player_name(),"\tInformation: \nYou've written more than 5 lines. \n it may be that not all lines are displayed. \n Please remove the last entry")
minetest.chat_send_player(sender:get_player_name(),"Information: \nYou've written more than 5 lines. \nIt may be that not all lines are displayed. \nPlease remove the last entry")
end
return true
end