aboutsummaryrefslogtreecommitdiff
path: root/azalea-world/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-02-23 03:10:21 +0000
committermat <git@matdoes.dev>2025-02-23 03:10:21 +0000
commitf8130c3c92946d2293634ba4e252d6bc93026c3c (patch)
tree08fc6097137d7b4d31b692f4ba993b23acc64eb7 /azalea-world/src
parent34f53baf85fb5c7163ec5d71a8ab9d45d3f271b6 (diff)
downloadazalea-drasl-f8130c3c92946d2293634ba4e252d6bc93026c3c.tar.xz
minor memory usage optimizations
Diffstat (limited to 'azalea-world/src')
-rwxr-xr-xazalea-world/src/chunk_storage.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea-world/src/chunk_storage.rs b/azalea-world/src/chunk_storage.rs
index 9852dd1a..455d87e7 100755
--- a/azalea-world/src/chunk_storage.rs
+++ b/azalea-world/src/chunk_storage.rs
@@ -448,6 +448,7 @@ impl AzaleaRead for Section {
let block_count = u16::azalea_read(buf)?;
// this is commented out because the vanilla server is wrong
+ // ^ this comment was written ages ago. needs more investigation.
// assert!(
// block_count <= 16 * 16 * 16,
// "A section has more blocks than what should be possible. This is a bug!"