Connection message for Minecraft when the mobile connection is closed

master
Alex 2022-03-13 21:43:11 +01:00
parent 94d81874b9
commit 7e9a76bc1c
1 changed files with 2 additions and 2 deletions

View File

@ -67,13 +67,13 @@ func RunHub() {
client.MobileCmdIDs = []int{} client.MobileCmdIDs = []int{}
logger.Web.Println("delete mobileConn", client) logger.Web.Println("delete mobileConn", client)
serverCommunication.SendMessageToMinecraftServer(kraProtocol.DestBackend, 0, kraProtocol.StatusGet, 10, uuid, 22348, "") serverCommunication.SendMessageToMinecraftServer(kraProtocol.DestBackend, 0, kraProtocol.StatusGet, 10, uuid, 64247, "")
} else if client.VoiceConn == connection { } else if client.VoiceConn == connection {
client.VoiceConn = nil client.VoiceConn = nil
client.VoiceCmdIDs = []int{} client.VoiceCmdIDs = []int{}
logger.Web.Println("delete voiceConn", client) logger.Web.Println("delete voiceConn", client)
serverCommunication.SendMessageToMinecraftServer(kraProtocol.DestBackend, 0, kraProtocol.StatusGet, 10, uuid, 64247, "") serverCommunication.SendMessageToMinecraftServer(kraProtocol.DestBackend, 0, kraProtocol.StatusGet, 10, uuid, 22348, "")
} }
logger.Web.Println("client after updating", client) logger.Web.Println("client after updating", client)