Connection message for Minecraft when the voice/mobile connection is opened
parent
7e9a76bc1c
commit
2b97eaca48
|
@ -39,9 +39,13 @@ func RunHub() {
|
|||
if token == clientDb.VoiceSessionToken { // voice
|
||||
client.VoiceConn = connection
|
||||
logger.Web.Println("voice")
|
||||
|
||||
serverCommunication.SendMessageToMinecraftServer(kraProtocol.DestBackend, 0, kraProtocol.StatusGet, 10, clientDb.Uuid, 13337, "")
|
||||
} else if token == clientDb.MobileSessionToken { // mobile
|
||||
client.MobileConn = connection
|
||||
logger.Web.Println("mobile")
|
||||
|
||||
serverCommunication.SendMessageToMinecraftServer(kraProtocol.DestBackend, 0, kraProtocol.StatusGet, 10, clientDb.Uuid, 37657, "")
|
||||
} else { // token invald
|
||||
logger.Web.Println("invalid")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue