mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-01-19 18:44:45 +00:00
Fix psadmin player_list
It's supposed to return a list of names and not the whole avatar object.
This commit is contained in:
parent
81492da996
commit
2ec28b903f
|
|
@ -34,7 +34,7 @@ class CmdListPlayers(args: Array[String], services: Map[String, ActorRef]) exten
|
|||
} else {
|
||||
data {
|
||||
"player_list"
|
||||
} = players
|
||||
} = players.map(_.name)
|
||||
context.parent ! CommandGoodResponse(s"${players.length} players online\n", data)
|
||||
}
|
||||
case default => log.error(s"Unexpected message $default")
|
||||
|
|
|
|||
Loading…
Reference in a new issue