d chat for admins fix when zivi

This commit is contained in:
hydrant
2021-04-05 12:11:32 +02:00
parent 3cb15837da
commit 39c772487b

View File

@@ -109,9 +109,9 @@ namespace ReallifeGamemode.Server.Commands
string factionName = string.Empty; string factionName = string.Empty;
if(f.StateOwned) if(f?.StateOwned ?? false)
{ {
factionName = player.GetUser().GetFactionRank().RankName; factionName = u.GetFactionRank().RankName;
} }
else else
{ {