reply handling
parent
96917f7bb6
commit
a2ac6a66d5
|
@ -77,7 +77,7 @@ func HandleMinecraftMessage(conn *websocket.Conn, msg []byte) {
|
||||||
if status == kraProtocol.StatusGet {
|
if status == kraProtocol.StatusGet {
|
||||||
webClient := GetWebClientByUuid(playerUuid)
|
webClient := GetWebClientByUuid(playerUuid)
|
||||||
|
|
||||||
a := &structs.A{CmdID: cmdID, CmdIDFromMinecraftServer: 20, DestFromMinecraftServer: 10}
|
a := &structs.A{CmdID: 20, CmdIDFromMinecraftServer: cmdID, DestFromMinecraftServer: 10}
|
||||||
|
|
||||||
webClient.VoiceCMDIDsByBackend = append(webClient.VoiceCMDIDsByBackend, a)
|
webClient.VoiceCMDIDsByBackend = append(webClient.VoiceCMDIDsByBackend, a)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue