clippy fixes

This commit is contained in:
Robin Appelman 2025-05-18 18:58:31 +02:00
commit 492ac6572c
6 changed files with 15 additions and 20 deletions

View file

@ -41,7 +41,7 @@ impl MessageMutator for RemoveInvalidPreserveEntity {
};
}
ent_message.removed_entities.retain(|id| {
if self.known_entities.borrow().contains(&id) {
if self.known_entities.borrow().contains(id) {
// just not deleting makes the demo play but seems like it could cause further issues
// having a Delete or Leave makes it crash further in the demo