fix
This commit is contained in:
@@ -57,7 +57,7 @@ namespace ReallifeGamemode.Server.Services
|
||||
foreach (Player c in NAPI.Pools.GetAllPlayers())
|
||||
{
|
||||
User user = c.GetUser();
|
||||
Faction f = user.Faction;
|
||||
Faction f = user?.Faction;
|
||||
if (f != null)
|
||||
{
|
||||
if (factions.Find(fT => fT.Id == f.Id) != null)
|
||||
|
||||
Reference in New Issue
Block a user