aboutsummaryrefslogtreecommitdiff
path: root/src/v1_15_2.rs
diff options
context:
space:
mode:
authorJoey Sacchini <joey@sacchini.net>2020-10-14 17:30:22 -0400
committerJoey Sacchini <joey@sacchini.net>2020-10-14 17:30:22 -0400
commitd018930688c7efabc67a8257dbcb3258cfeeae93 (patch)
tree611bd7820d902112f1b878d313b42defaa00d796 /src/v1_15_2.rs
parented9162f42c847a26ef39f8633286bb0068a1c881 (diff)
downloadmcproto-rs-d018930688c7efabc67a8257dbcb3258cfeeae93.tar.gz
mcproto-rs-d018930688c7efabc67a8257dbcb3258cfeeae93.tar.bz2
mcproto-rs-d018930688c7efabc67a8257dbcb3258cfeeae93.zip
implement enum based raw packet types
Diffstat (limited to 'src/v1_15_2.rs')
-rw-r--r--src/v1_15_2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v1_15_2.rs b/src/v1_15_2.rs
index bef9730..83cd516 100644
--- a/src/v1_15_2.rs
+++ b/src/v1_15_2.rs
@@ -42,7 +42,7 @@ impl State {
}
}
-define_protocol!(Packet578, PacketDirection, State, i32, Id => {
+define_protocol!(Packet578, RawPacket578, PacketDirection, State, i32, Id => {
// handshaking
Handshake, 0x00, Handshaking, ServerBound => HandshakeSpec {
version: VarInt,