mirror of
https://github.com/edgegamers/Jailbreak.git
synced 2025-12-06 04:42:57 -08:00
Fix compilation error
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user