From 56b6eb4a935355125f2e33280400ddd7882b03d8 Mon Sep 17 00:00:00 2001 From: Znojmok <137639276+Znojmok@users.noreply.github.com> Date: Sat, 19 Apr 2025 22:45:30 +0200 Subject: [PATCH] changed version protocol number from unsigned to signed int --- src/status/data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status/data.rs b/src/status/data.rs index 7a942d6..14fcaf0 100644 --- a/src/status/data.rs +++ b/src/status/data.rs @@ -71,7 +71,7 @@ pub struct Version { /// /// See [the wiki.vg page](https://wiki.vg/Protocol_version_numbers) for a /// reference on what versions these correspond to. - pub protocol: u64, + pub protocol: i64, } /// Represents a chat object (the MOTD is sent as a chat object).