diff --git a/server/src/events/entity_manipulation.rs b/server/src/events/entity_manipulation.rs index 47b28d7e39..eabde86f76 100644 --- a/server/src/events/entity_manipulation.rs +++ b/server/src/events/entity_manipulation.rs @@ -959,6 +959,7 @@ pub fn handle_buff(server: &mut Server, entity: EcsEntity, buff_change: buff::Bu if !bodies .get(entity) .map_or(false, |body| body.immune_to(new_buff.kind)) + && ecs.is_alive(entity) { buffs.insert(new_buff); }