diff --git a/chat_mod/init.lua b/chat_mod/init.lua index 6912628..2604750 100644 --- a/chat_mod/init.lua +++ b/chat_mod/init.lua @@ -6,7 +6,7 @@ function send_messages(res) local x = minetest.get_connected_players() local text = "List of Players:\n" for j, i in ipairs(x) do - local text = text .. i.get_player_name(i) + text = text .. "\n" .. i.get_player_name(i) end http_api.fetch_async({url = "http://localhost:" .. port .. "/sendCode", post_data = {message = text}})