From 7c72f6e82c9c3fa741d701aa8ac9789cf846b1f5 Mon Sep 17 00:00:00 2001 From: Andy Morrell Date: Fri, 6 Apr 2018 12:54:22 +0100 Subject: [PATCH] Removed item that is no longer needed --- TwitchLib.Unity/Client.cs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/TwitchLib.Unity/Client.cs b/TwitchLib.Unity/Client.cs index 4433d07..186fc8a 100644 --- a/TwitchLib.Unity/Client.cs +++ b/TwitchLib.Unity/Client.cs @@ -12,19 +12,7 @@ public class Client : TwitchClient, ITwitchClient { private readonly GameObject _threadDispatcher; public new bool OverrideBeingHostedCheck { get; set; } - - public new ConnectionCredentials ConnectionCredentials - { - get => base.ConnectionCredentials; - set - { - if (IsConnected) - ThreadDispatcher.Instance().Enqueue(() => throw new IllegalAssignmentException("While the client is connected, you are unable to change the connection credentials. Please disconnect first and then change them.")); - base.ConnectionCredentials = value; - TwitchUsername = value.TwitchUsername; - } - } - + #region Events /// /// Fires whenever a log write happens.