fix onlineliste
This commit is contained in:
@@ -619,7 +619,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
Id = p.Handle.Value,
|
||||
p.Name,
|
||||
p.Ping,
|
||||
FactionName = p.GetUser().Faction?.Name ?? "Zivilist",
|
||||
FactionName = p.GetUser()?.Faction?.Name ?? "Zivilist",
|
||||
});
|
||||
player.TriggerEvent("showPlayerlist", JsonConvert.SerializeObject(listPlayers));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user