From 5467304bcf6520847c5baa88dfd5e1528fbcdf3e Mon Sep 17 00:00:00 2001 From: iceiix <43691553+iceiix@users.noreply.github.com> Date: Mon, 13 May 2019 17:13:22 -0700 Subject: [PATCH] Disable parsing advancements to fix 1.12.2 Forge SevTech crash (#148) (#149) Leave the advancements packet as an opaque blob for now instead of trying to deserialize it, because it apparently is changed on some modded servers - see https://github.com/iceiix/stevenarella/issues/148 --- protocol/src/protocol/packet.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/protocol/src/protocol/packet.rs b/protocol/src/protocol/packet.rs index 6087ed6..3783f13 100644 --- a/protocol/src/protocol/packet.rs +++ b/protocol/src/protocol/packet.rs @@ -1706,10 +1706,14 @@ state_packets!( field pitch: i8 =, } packet Advancements { + field data: Vec =, + /* TODO: fix parsing modded advancements 1.12.2 (e.g. SevTech Ages) + * see https://github.com/iceiix/stevenarella/issues/148 field reset_clear: bool =, field mapping: LenPrefixed =, field identifiers: LenPrefixed =, field progress: LenPrefixed =, + */ } /// EntityProperties updates the properties for an entity. packet EntityProperties {