From ab45bb7825b41c745f89a1dc6c1213742c7b8512 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Tue, 6 Sep 2022 18:41:59 +0000 Subject: rename variants in packet enums to be shorter --- azalea-client/src/ping.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea-client/src/ping.rs') diff --git a/azalea-client/src/ping.rs b/azalea-client/src/ping.rs index e4872881..c59fb3ac 100755 --- a/azalea-client/src/ping.rs +++ b/azalea-client/src/ping.rs @@ -54,8 +54,8 @@ pub async fn ping_server( loop { match packet { - ClientboundStatusPacket::ClientboundStatusResponsePacket(p) => return Ok(p), - ClientboundStatusPacket::ClientboundPongResponsePacket(_) => { + ClientboundStatusPacket::StatusResponse(p) => return Ok(p), + ClientboundStatusPacket::PongResponse(_) => { // we should never get this packet since we didn't send a ping } } -- cgit v1.2.3