mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-14 10:13:13 +02:00
Fix whois sending LuaPlayer instead of name
This commit is contained in:
parent
fe3a67e682
commit
09152104a2
@ -242,7 +242,7 @@ local function print_player_info(args, player)
|
||||
'Name: ' .. name,
|
||||
target.connected and 'Online: yes' or 'Online: no',
|
||||
'Index: ' .. target.index,
|
||||
'Rank: ' .. Rank.get_player_rank_name(target),
|
||||
'Rank: ' .. Rank.get_player_rank_name(name),
|
||||
Donator.is_donator(target.name) and 'Donator: yes' or 'Donator: no',
|
||||
'Time played: ' .. Utils.format_time(target.online_time),
|
||||
'AFK time: ' .. Utils.format_time(target.afk_time or 0),
|
||||
|
Loading…
Reference in New Issue
Block a user