no health anti cheat when healing
This commit is contained in:
@@ -74,6 +74,12 @@ namespace ReallifeGamemode.Server.Extensions
|
||||
}
|
||||
}
|
||||
|
||||
public static void SafeSetHealth(this Player player, int health)
|
||||
{
|
||||
AntiCheat.NoHealthAntiCheatForPlayer(player.Name);
|
||||
player.SafeSetHealth(health);
|
||||
}
|
||||
|
||||
public static void SetJailTime(this User user, bool killed)
|
||||
{
|
||||
if (user == null)
|
||||
|
||||
Reference in New Issue
Block a user