Clean up mess from last commit

This commit is contained in:
John Gross
2019-02-28 12:03:26 -08:00
parent 5cd5873ec3
commit c650e190fb

View File

@@ -43,9 +43,6 @@ namespace Torch.Managers.ChatManager
public class ChatManagerServer : ChatManagerClient, IChatManagerServer public class ChatManagerServer : ChatManagerClient, IChatManagerServer
{ {
[Dependency(Optional = true)]
private INetworkManager _networkManager;
private static readonly Logger _log = LogManager.GetCurrentClassLogger(); private static readonly Logger _log = LogManager.GetCurrentClassLogger();
private static readonly Logger _chatLog = LogManager.GetLogger("Chat"); private static readonly Logger _chatLog = LogManager.GetLogger("Chat");
@@ -126,8 +123,6 @@ namespace Torch.Managers.ChatManager
if (MyMultiplayer.Static != null) if (MyMultiplayer.Static != null)
{ {
MyMultiplayer.Static.ChatMessageReceived += MpStaticChatMessageReceived; MyMultiplayer.Static.ChatMessageReceived += MpStaticChatMessageReceived;
_log.Warn(
"Failed to initialize network intercept, we can't discard chat messages! Falling back to another method.");
} }
else else
{ {