banned player list made readonly, lobby fakes support

This commit is contained in:
Tomas Blaho
2017-09-20 17:16:15 +02:00
parent eb7f7f4244
commit 9c505c4f5d
3 changed files with 9 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ namespace Torch.Server.Managers
#pragma warning restore 649
/// <inheritdoc />
public List<ulong> BannedPlayers => MySandboxGame.ConfigDedicated.Banned;
public IReadOnlyList<ulong> BannedPlayers => MySandboxGame.ConfigDedicated.Banned;
private Dictionary<ulong, ulong> _gameOwnerIds = new Dictionary<ulong, ulong>();