Avoid hurt animation for fully blocked shield hits

This commit is contained in:
Cosmic
2026-10-17 05:11:42 -04:00
parent 1af78463eb
commit e0364da4eb
5 changed files with 80 additions and 8 deletions
@@ -319,7 +319,7 @@ impl Game<'_> {
.map(|s| s.item.clone());
let off = self.offhand.as_ref().map(|s| s.item.clone());
let riding = self.riding.is_some();
let hurt = p.health.hurt.hurt_time;
let hurt = p.health.hurt_animation_time;
let Some(m) = self.player_model.as_mut() else {
return;
};