From f3b74b65ed287203afcb431e3381f5d4357ac47c Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Tue, 29 Jan 2019 11:11:19 +0530 Subject: [PATCH] Fix /list --- chat_mod/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}})