From 7b130c6e15b7d5c1111d6ce4ae11c03223e3afd1 Mon Sep 17 00:00:00 2001 From: hydrant Date: Mon, 5 Apr 2021 00:06:52 +0200 Subject: [PATCH] ga fix --- ReallifeGamemode.Server/Commands/FactionCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Commands/FactionCommands.cs b/ReallifeGamemode.Server/Commands/FactionCommands.cs index 724fc33e..a41601a1 100644 --- a/ReallifeGamemode.Server/Commands/FactionCommands.cs +++ b/ReallifeGamemode.Server/Commands/FactionCommands.cs @@ -57,7 +57,7 @@ namespace ReallifeGamemode.Server.Commands string rank = string.Empty; - if(f.Name == "Ballas" || f.Name == "Grove") + if(f?.Name == "Ballas" || f?.Name == "Grove") { rank = player.GetUser().GetFactionRank().RankName; }