gefängnis pc nullreference fix

This commit is contained in:
hydrant
2021-04-05 15:36:56 +02:00
parent b49cbffb32
commit 7d68532b74

View File

@@ -513,6 +513,11 @@ namespace ReallifeGamemode.Server.Events
foreach (Player target in NAPI.Pools.GetAllPlayers())
{
User c = target.GetUser();
if(c == null)
{
continue;
}
if (c.JailTime > 0)
{
criminals.Add(c.Name);