diff options
| author | Ubuntu <github@matdoes.dev> | 2022-09-06 18:41:59 +0000 |
|---|---|---|
| committer | Ubuntu <github@matdoes.dev> | 2022-09-06 18:41:59 +0000 |
| commit | ab45bb7825b41c745f89a1dc6c1213742c7b8512 (patch) | |
| tree | 213524948068bb8672302374283077b087668b2c /azalea-client/src/ping.rs | |
| parent | eb6328ddc6d3a7ca83e98d0297b7513c406dca08 (diff) | |
| download | azalea-drasl-ab45bb7825b41c745f89a1dc6c1213742c7b8512.tar.xz | |
rename variants in packet enums to be shorter
Diffstat (limited to 'azalea-client/src/ping.rs')
| -rwxr-xr-x | azalea-client/src/ping.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 } } |
