aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-19 21:24:42 -0500
committermat <github@matdoes.dev>2022-04-19 21:24:42 -0500
commitcafa4dd76fecc9e331f35145e10539e1f5ac85f6 (patch)
tree113e879b9bea299f797f16370ef105586c1232b3 /azalea-client/src
parenta3fad4765b7ef2077fde0b5c87a5cf657f9f6584 (diff)
downloadazalea-drasl-cafa4dd76fecc9e331f35145e10539e1f5ac85f6.tar.xz
Fix declare_state_packets
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/ping.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-client/src/ping.rs b/azalea-client/src/ping.rs
index 87ccdf66..8ecff7ca 100644
--- a/azalea-client/src/ping.rs
+++ b/azalea-client/src/ping.rs
@@ -38,7 +38,7 @@ pub async fn ping_server(
let packet = conn.read().await.unwrap();
match packet {
- StatusPacket::ClientboundStatusResponsePacket(p) => Ok(*p),
+ StatusPacket::ClientboundStatusResponsePacket(p) => Ok(p),
_ => Err("Invalid packet type".to_string()),
}
}