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
This commit is contained in:
iceiix 2019-05-13 17:13:22 -07:00 committed by GitHub
parent 1a600c7192
commit 5467304bcf
1 changed files with 4 additions and 0 deletions

View File

@ -1706,10 +1706,14 @@ state_packets!(
field pitch: i8 =,
}
packet Advancements {
field data: Vec<u8> =,
/* 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<VarInt, packet::Advancement> =,
field identifiers: LenPrefixed<VarInt, String> =,
field progress: LenPrefixed<VarInt, packet::AdvancementProgress> =,
*/
}
/// EntityProperties updates the properties for an entity.
packet EntityProperties {