diff --git a/ReallifeGamemode.Server/Commands/FactionCommands.cs b/ReallifeGamemode.Server/Commands/FactionCommands.cs index 8cebc338..147b79dc 100644 --- a/ReallifeGamemode.Server/Commands/FactionCommands.cs +++ b/ReallifeGamemode.Server/Commands/FactionCommands.cs @@ -109,9 +109,9 @@ namespace ReallifeGamemode.Server.Commands string factionName = string.Empty; - if(f.StateOwned) + if(f?.StateOwned ?? false) { - factionName = player.GetUser().GetFactionRank().RankName; + factionName = u.GetFactionRank().RankName; } else {