diff --git a/public/Jailbreak.Public/Extensions/PlayerExtensions.cs b/public/Jailbreak.Public/Extensions/PlayerExtensions.cs index 81d8da65..3e55bc6a 100644 --- a/public/Jailbreak.Public/Extensions/PlayerExtensions.cs +++ b/public/Jailbreak.Public/Extensions/PlayerExtensions.cs @@ -14,7 +14,7 @@ public static bool IsReal(this CCSPlayerController player) { // Do nothing else before this: // Verifies the handle points to an entity within the global entity list. - if (!player.IsReal()) + if (!player.IsValid) return false; if(player.Connected != PlayerConnectedState.PlayerConnected)