Fix logic error in sample

This commit is contained in:
ChillerDragon 2024-06-21 10:07:58 +08:00
parent db550ce86f
commit 759d37658b

View file

@ -82,7 +82,7 @@ func main() {
fmt.Printf("got chat msg: %s\n", chat.Message) fmt.Printf("got chat msg: %s\n", chat.Message)
// modify chat if this was a proxy // modify chat if this was a proxy
result.Response.Messages[i] = chat result.Packet.Messages[i] = chat
} }
} }
} }