forked from mtcontrib/arrow_signs
format text message "too much lines"
This commit is contained in:
parent
0f7badedd9
commit
bd9707abfe
2
init.lua
2
init.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user