From 8d4d60687346279c31553bd565f1aa5d83aefc94 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 --- src/protocol/packet.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/protocol/packet.rs b/src/protocol/packet.rs index 6087ed6..3783f13 100644 --- a/src/protocol/packet.rs +++ b/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 {