gefängnis pc nullreference fix
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user