From c87e691a422f593156dd8382fba5c8b1e9afa2da Mon Sep 17 00:00:00 2001 From: shamoanjac Date: Sun, 14 Aug 2016 23:55:42 +0200 Subject: [PATCH] Fixed /f who showing only one person --- chatcommands.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chatcommands.lua b/chatcommands.lua index e9e5f94..ea97712 100644 --- a/chatcommands.lua +++ b/chatcommands.lua @@ -393,8 +393,8 @@ factions.register_command("who", { return true end minetest.chat_send_player(player, "Players in faction "..faction.name..": ") - for player, rank in pairs(faction.players) do - minetest.chat_send_player(player, player.." ("..rank..")") + for p, rank in pairs(faction.players) do + minetest.chat_send_player(player, p.." ("..rank..")") end return true end