Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
SelfMadeSystem committed Oct 11, 2023
1 parent f14c8b4 commit ca2897e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/valence_entity/src/active_status_effects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl ActiveStatusEffects {
}

/// For internal use only.
///
///
/// Moves the new effects to the active effects
/// and returns an iterator over the new effects.
pub fn move_new_to_active(&mut self) -> impl Iterator<Item = &ActiveStatusEffect> {
Expand Down
2 changes: 1 addition & 1 deletion crates/valence_server/src/status_effect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ fn remove_expired_status_effects(
{
let expired = active_status_effects.remove_expired();

if expired.len() == 0 {
if expired.is_empty() {
continue;
}

Expand Down

0 comments on commit ca2897e

Please sign in to comment.