Fixed user data request/response definitions
This commit is contained in:
@@ -57,6 +57,7 @@ export function unpackUserDataRequestMessage (data: Uint8Array): UserDataRequest
|
||||
|
||||
const usernameLength = packedData.readUInt16()
|
||||
const username = packedData.readBytes(usernameLength)
|
||||
packedData.cursor = 34
|
||||
const colour = packedData.readBytes(3)
|
||||
const clientIdLength = packedData.readUInt16()
|
||||
const clientId = packedData.readBytes(clientIdLength)
|
||||
|
||||
Reference in New Issue
Block a user