NullReferenceException Catch

This commit is contained in:
Lukas Moungos
2019-12-01 16:29:07 +01:00
parent a810a5abf8
commit f67fd6ac63
2 changed files with 32 additions and 17 deletions

View File

@@ -63,7 +63,7 @@ namespace ReallifeGamemode.Server.Events
}
User user = player.GetUser();
if(user.JailTime <= 0 && !player.HasData("inGangWar"))
if(user.JailTime <= 0)
{
//MEDIC AUFTRAG
MedicTask reviveTask = new MedicTask()