set hp fix

This commit is contained in:
hydrant
2021-04-11 02:45:43 +02:00
parent 34726abc04
commit 3a19c26728

View File

@@ -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)