From e443c5d76e706132ab554e97513d2b159f4ab0a1 Mon Sep 17 00:00:00 2001 From: Shayne Hartford Date: Fri, 22 Nov 2024 22:30:01 -0500 Subject: Fix debug warning (#186) --- azalea-world/src/chunk_storage.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azalea-world/src/chunk_storage.rs b/azalea-world/src/chunk_storage.rs index 5f8b8951..1709a903 100755 --- a/azalea-world/src/chunk_storage.rs +++ b/azalea-world/src/chunk_storage.rs @@ -517,7 +517,7 @@ impl Default for ChunkStorage { pub fn section_index(y: i32, min_y: i32) -> u32 { if y < min_y { #[cfg(debug_assertions)] - warn!("y ({y}) must be at most {min_y}"); + warn!("y ({y}) must be at least {min_y}"); #[cfg(not(debug_assertions))] trace!("y ({y}) must be at least {min_y}") }; -- cgit v1.2.3