diff options
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 } } |
