Removed Old PlayerSession Functions (#5404)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -2,7 +2,6 @@ using System.Linq;
|
||||
using Content.Server.Administration.Managers;
|
||||
using Content.Server.Players;
|
||||
using Content.Server.Roles;
|
||||
using Content.Server.Traitor;
|
||||
using Content.Shared.Administration;
|
||||
using Content.Shared.Administration.Events;
|
||||
using Robust.Server.GameObjects;
|
||||
@@ -113,7 +112,7 @@ namespace Content.Server.Administration
|
||||
{
|
||||
var ev = new FullPlayerListEvent();
|
||||
ev.PlayersInfo.Clear();
|
||||
foreach (var session in _playerManager.GetAllPlayers())
|
||||
foreach (var session in _playerManager.ServerSessions)
|
||||
{
|
||||
ev.PlayersInfo.Add(GetPlayerInfo(session));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user