Fix compilation error

This commit is contained in:
MSWS
2025-10-16 13:57:29 -07:00
parent 0e899c48d7
commit 47d529e44c

View File

@@ -468,7 +468,7 @@ public class LastRequestManager(ILRLocale messages, IServiceProvider provider)
if (!ShouldBlockDamage(player, attacker)) return HookResult.Continue;
if (player.PlayerPawn.IsValid) {
var playerPawn = player.PlayerPawn.Value!;
playerPawn.Health = playerPawn.LastHealth;
playerPawn.Health += ev.DmgHealth;
}
info.DontBroadcast = false;