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.