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