Skip to content

Commit d1a8dd7

Browse files
Znojmokariscript
authored andcommitted
changed version protocol number from unsigned to signed int
1 parent a5d25b8 commit d1a8dd7

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: u64,
74+
pub protocol: i64,
7575
}
7676

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

0 commit comments

Comments
 (0)