diff options
| author | mat <git@matdoes.dev> | 2023-05-12 23:40:31 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-05-12 23:40:31 -0500 |
| commit | 657c073eab0f09d873bde21d5cdeb13a1bebb71b (patch) | |
| tree | 0fcadb1ddb4e94a5d296f0b5c269ecfb2c5b3c41 /azalea-protocol | |
| parent | c04620ec3892e47f463d4af969757c000235eff6 (diff) | |
| download | azalea-drasl-657c073eab0f09d873bde21d5cdeb13a1bebb71b.tar.xz | |
protocol fixes
Diffstat (limited to 'azalea-protocol')
| -rwxr-xr-x | azalea-protocol/src/packets/game/clientbound_light_update_packet.rs | 1 | ||||
| -rwxr-xr-x | azalea-protocol/src/packets/game/clientbound_update_advancements_packet.rs | 9 |
2 files changed, 5 insertions, 5 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_light_update_packet.rs b/azalea-protocol/src/packets/game/clientbound_light_update_packet.rs index 5a0478ca..3e5ca1b9 100755 --- a/azalea-protocol/src/packets/game/clientbound_light_update_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_light_update_packet.rs @@ -13,7 +13,6 @@ pub struct ClientboundLightUpdatePacket { #[derive(Clone, Debug, McBuf)] pub struct ClientboundLightUpdatePacketData { - pub trust_edges: bool, pub sky_y_mask: BitSet, pub block_y_mask: BitSet, pub empty_sky_y_mask: BitSet, diff --git a/azalea-protocol/src/packets/game/clientbound_update_advancements_packet.rs b/azalea-protocol/src/packets/game/clientbound_update_advancements_packet.rs index 76f1412c..a561fa9c 100755 --- a/azalea-protocol/src/packets/game/clientbound_update_advancements_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_update_advancements_packet.rs @@ -16,10 +16,11 @@ pub struct ClientboundUpdateAdvancementsPacket { #[derive(Clone, Debug, McBuf)] pub struct Advancement { - parent_id: Option<ResourceLocation>, - display: Option<DisplayInfo>, - criteria: HashMap<ResourceLocation, Criterion>, - requirements: Vec<Vec<String>>, + pub parent_id: Option<ResourceLocation>, + pub display: Option<DisplayInfo>, + pub criteria: HashMap<ResourceLocation, Criterion>, + pub requirements: Vec<Vec<String>>, + pub sends_telemetry_event: bool, } #[derive(Clone, Debug)] |
