aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol
diff options
context:
space:
mode:
authorUbuntu <github@matdoes.dev>2022-11-08 20:45:17 +0000
committerUbuntu <github@matdoes.dev>2022-11-08 20:45:17 +0000
commitc4843b347d8708152fe7453523f5c2edee9a94bb (patch)
treeca6ac4b504fe3ca7bc9c103b9d915c13b5111c8f /azalea-protocol
parent350f9f105e433f25ea86713b5c0e9da7422f0034 (diff)
downloadazalea-drasl-c4843b347d8708152fe7453523f5c2edee9a94bb.tar.xz
make some fields public in light update packet
Diffstat (limited to 'azalea-protocol')
-rw-r--r--azalea-protocol/src/packets/game/clientbound_light_update_packet.rs14
1 files changed, 7 insertions, 7 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 b4d0d0e5..5a0478ca 100644
--- a/azalea-protocol/src/packets/game/clientbound_light_update_packet.rs
+++ b/azalea-protocol/src/packets/game/clientbound_light_update_packet.rs
@@ -13,11 +13,11 @@ pub struct ClientboundLightUpdatePacket {
#[derive(Clone, Debug, McBuf)]
pub struct ClientboundLightUpdatePacketData {
- trust_edges: bool,
- sky_y_mask: BitSet,
- block_y_mask: BitSet,
- empty_sky_y_mask: BitSet,
- empty_block_y_mask: BitSet,
- sky_updates: Vec<Vec<u8>>,
- block_updates: Vec<Vec<u8>>,
+ pub trust_edges: bool,
+ pub sky_y_mask: BitSet,
+ pub block_y_mask: BitSet,
+ pub empty_sky_y_mask: BitSet,
+ pub empty_block_y_mask: BitSet,
+ pub sky_updates: Vec<Vec<u8>>,
+ pub block_updates: Vec<Vec<u8>>,
}