Core: Players console command now shows players' IP addresses (patch contributed by STR_Warrior)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1220 0a769ca7-a7f5-676a-18bf-c427514a06d6master
parent
d47ff55203
commit
8e64ad0848
|
@ -82,7 +82,7 @@ function HandleConsolePlayers(Split)
|
|||
if (PlayersInWorlds[WorldName] == nil) then
|
||||
PlayersInWorlds[WorldName] = {};
|
||||
end
|
||||
table.insert(PlayersInWorlds[WorldName], Player:GetName());
|
||||
table.insert(PlayersInWorlds[WorldName], Player:GetName() .. " @ " .. Player:GetIP());
|
||||
end
|
||||
|
||||
cRoot:Get():ForEachPlayer(AddToTable);
|
||||
|
|
Loading…
Reference in New Issue