Fix /list
This commit is contained in:
		| @@ -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}}) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user