safe tp spawn no heal anticheat

This commit is contained in:
hydrant
2021-04-11 03:52:48 +02:00
parent 87fcbbc885
commit 5ebbfb0638

View File

@@ -65,6 +65,7 @@ namespace ReallifeGamemode.Server.Extensions
AntiCheat.NoTpAntiCheatForPlayer(player.Name); AntiCheat.NoTpAntiCheatForPlayer(player.Name);
if (spawn) if (spawn)
{ {
AntiCheat.NoHealthAntiCheatForPlayer(player.Name);
NAPI.Player.SpawnPlayer(player, position, heading); NAPI.Player.SpawnPlayer(player, position, heading);
} }
else else