evtl fix fahrschule

This commit is contained in:
hydrant
2020-07-31 18:27:05 +02:00
parent 8ea05fbb4f
commit b88427db5c

View File

@@ -169,7 +169,7 @@ namespace ReallifeGamemode.Server.Util
if (temp.LastCheckpoint != 1)
{
Job.JobBase job = Managers.JobManager.GetJob(user.GetUser().JobId ?? -1);
if (job.GetUsersInJob().Contains(user))
if (job?.GetUsersInJob().Contains(user) ?? false)
{
if (user.GetUser().JobId == 3)
{