reply handling

master
Alex 2021-12-29 15:18:58 +01:00
parent eedb04be56
commit 864ce29220
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ func EncodeJavaMessage(status int, cmdID int, dest int, playerUuid string, cmdNu
func DecodeWebMessage(data []byte) (Status int, CmdID int, Dest int, CmdNumber int, Args string) {
if data[0] == StatusReply {
return int(data[0]), 0, 0, 0, ""
return int(data[0]), int(data[1]), 0, 0, ""
}
status := data[0]