From 3a19c267281de79b99a780c6361bdc1a2d273af1 Mon Sep 17 00:00:00 2001 From: hydrant Date: Sun, 11 Apr 2021 02:45:43 +0200 Subject: [PATCH] set hp fix --- ReallifeGamemode.Server/Extensions/ClientExtension.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Extensions/ClientExtension.cs b/ReallifeGamemode.Server/Extensions/ClientExtension.cs index 1a1d34eb..01706dbe 100644 --- a/ReallifeGamemode.Server/Extensions/ClientExtension.cs +++ b/ReallifeGamemode.Server/Extensions/ClientExtension.cs @@ -77,7 +77,7 @@ namespace ReallifeGamemode.Server.Extensions public static void SafeSetHealth(this Player player, int health) { AntiCheat.NoHealthAntiCheatForPlayer(player.Name); - player.SafeSetHealth(health); + player.Health = health; } public static void SetJailTime(this User user, bool killed)