The Motd struct represents the protocol version as an u16, but the protocol version (for mcbe at least) is always represented as an i32.
(I don't know why it is a signed integer, lets hope protocol version -42 is planned)
Due to the raknet docs not defining the motd and mojang rather doing their own stuff in this area, this is a bug of consistency.
The Motd struct represents the protocol version as an
u16, but the protocol version (for mcbe at least) is always represented as ani32.(I don't know why it is a signed integer, lets hope protocol version
-42is planned)Due to the raknet docs not defining the motd and mojang rather doing their own stuff in this area, this is a bug of consistency.