Skip to content

Commit fdcbc6c

Browse files
Xaeroxeariscript
authored andcommitted
allow for very large protocol version numbers
1 parent 1166d91 commit fdcbc6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/status/data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub struct Version {
7171
///
7272
/// See [the wiki.vg page](https://wiki.vg/Protocol_version_numbers) for a
7373
/// reference on what versions these correspond to.
74-
pub protocol: u16,
74+
pub protocol: u64,
7575
}
7676

7777
/// Represents a chat object (the MOTD is sent as a chat object).

0 commit comments

Comments
 (0)