vlt fix wenn rein ins kfz

This commit is contained in:
hydrant
2020-05-07 21:34:24 +02:00
parent b7da065240
commit adb30a1cda

View File

@@ -391,7 +391,7 @@ namespace ReallifeGamemode.Server.Managers
} }
} }
JobBase job = GetJob(player.GetUser().JobId ?? -1); JobBase job = GetJob(player.GetUser().JobId ?? -1);
if (job.GetUsersInJob().Contains(player)) if (job?.GetUsersInJob()?.Contains(player) ?? false)
{ {
if (sVeh != null) if (sVeh != null)
{ {