1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00

Fix debug warning

This commit is contained in:
Shayne Hartford 2024-11-22 17:22:32 -05:00
parent a8125cd198
commit ac11e281d2

View file

@ -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}")
};