Skip to content

Commit

Permalink
warn!(..) => log::warn!(..)
Browse files Browse the repository at this point in the history
  • Loading branch information
user622628252416 committed Nov 7, 2024
1 parent 044c763 commit 43355ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pumpkin/src/entity/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use std::{

use crossbeam::atomic::AtomicCell;
use itertools::Itertools;
use log::warn;
use num_derive::FromPrimitive;
use pumpkin_config::ADVANCED_CONFIG;
use pumpkin_core::{
Expand Down Expand Up @@ -928,7 +927,7 @@ impl Player {
}
}

warn!("{remaining_items} items ({}) were discarded because dropping them to the ground is not implemented", item.name);
log::warn!("{remaining_items} items ({}) were discarded because dropping them to the ground is not implemented", item.name);
}
}

Expand Down

0 comments on commit 43355ab

Please sign in to comment.