Fix
This commit is contained in:
@@ -43,7 +43,7 @@ namespace ReallifeGamemode.Server.Wanted
|
||||
foreach (var player in NAPI.Pools.GetAllPlayers())
|
||||
{
|
||||
User user = player.GetUser();
|
||||
if (user.Wanteds > 0)
|
||||
if (user != null && user.Wanteds > 0)
|
||||
{
|
||||
if (!waTimer.ContainsKey(user.Id))
|
||||
ResetWantedTimeToElapse(player);
|
||||
|
||||
Reference in New Issue
Block a user