diff --git a/MinecraftClient/ChatBots/WebSocketBot.cs b/MinecraftClient/ChatBots/WebSocketBot.cs index e309911a..1aa6caa9 100644 --- a/MinecraftClient/ChatBots/WebSocketBot.cs +++ b/MinecraftClient/ChatBots/WebSocketBot.cs @@ -425,6 +425,9 @@ public class WebSocketBot : ChatBot _authenticatedSessions.Add(newId); } + // Update the responder to the new session id + responder = new WsCommandResponder(this, newId, cmd.Command, cmd.RequestId); + responder.SendSuccessResponse( responder.Quote("The session ID was successfully changed to: '" + newId + "'"), true); LogToConsole(string.Format(Translations.bot_WebSocketBot_session_id_changed, sessionId, newId));