Connection message for Minecraft when the mobile connection is closed
parent
94d81874b9
commit
7e9a76bc1c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue