From 824061e9a9cd45156cea884f98eb9b24df7b7c8b Mon Sep 17 00:00:00 2001 From: Vladislav Golub Date: Sun, 10 Nov 2019 02:24:38 +0300 Subject: [PATCH] Remove self --- src/status.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status.rs b/src/status.rs index 2083f71..43ff8a6 100644 --- a/src/status.rs +++ b/src/status.rs @@ -21,7 +21,7 @@ impl StatusServerBoundPacket { } } - pub fn decode(&self, type_id: u8, reader: &mut R) -> Result { + pub fn decode(type_id: u8, reader: &mut R) -> Result { match type_id { 0x0 => Ok(StatusServerBoundPacket::StatusRequest), 0x1 => {