mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Bug fix: Can't reconnect after connection lost
This commit is contained in:
parent
db64515b78
commit
98dd645fb5
4 changed files with 31 additions and 18 deletions
|
|
@ -218,7 +218,7 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
/// Get net read thread (main thread) ID
|
||||
/// </summary>
|
||||
/// <returns>Net read thread ID</returns>
|
||||
public int GetNetReadThreadId()
|
||||
public int GetNetMainThreadId()
|
||||
{
|
||||
return netRead != null ? netRead.Item1.ManagedThreadId : -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue