Repository: azalea-rs/azalea (language: rust)

Issue:
Chunk Storage Error
I have also spoken about this error in the [discord](https://discord.com/channels/1041923016856191016/1041923017317548064/1244295038616207370).

While this error, when running in dev profiles crashes the bot but in release profile it throws error as shown in the image below.

![image](https://github.com/azalea-rs/azalea/assets/117935160/aac8c6b4-8c8e-4b64-b921-c43886cd12e1)

## When this error occurs?
This error occurs when joining a world like `2b2t.org` where the server has queue. In the queue, bot receives a a simple text of it's position and no blocks are in the world.

## How frustrating it is?
This makes the log file exceptionally large, as the bot is in the queue for around 12 hours.


Discussion / hints:

Fix patch:
diff --git a/azalea-world/src/chunk_storage.rs b/azalea-world/src/chunk_storage.rs
index 512f231b3..f1239f8ac 100755
--- a/azalea-world/src/chunk_storage.rs
+++ b/azalea-world/src/chunk_storage.rs
@@ -515,9 +515,9 @@ impl Default for ChunkStorage {
 pub fn section_index(y: i32, min_y: i32) -> u32 {
     if y < min_y {
         #[cfg(debug_assertions)]
-        panic!("y ({y}) must be at most {min_y}");
+        warn!("y ({y}) must be at most {min_y}");
         #[cfg(not(debug_assertions))]
-        tracing::error!("y ({y}) must be at least {min_y}")
+        trace!("y ({y}) must be at least {min_y}")
     };
     let min_section_index = min_y >> 4;
     ((y >> 4) - min_section_index) as u32


Test patch: