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 (#186)

This commit is contained in:
Shayne Hartford 2024-11-22 22:30:01 -05:00 committed by GitHub
parent a8125cd198
commit e443c5d76e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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