Another assertion

This commit is contained in:
crumblingstatue 2023-04-14 22:46:41 +02:00
parent c93e2b7ed8
commit 04d5b661c3

View file

@ -30,8 +30,8 @@ pub(super) fn save_chunk(pos: &ChunkPos, chk: &Chunk) {
ExistenceBitset::EMPTY
};
dbg!(existence_bitset);
let _ = dbg!(f.stream_position());
let mut region_tile_data = if reg_file_exists {
assert_eq!(f.stream_position().unwrap(), 8);
zstd::decode_all(&mut f).unwrap()
} else {
vec![0; REGION_BYTES]