From 980121b0425025fec94720ce587fa4261881137e Mon Sep 17 00:00:00 2001 From: Luke Date: Tue, 1 Jun 2021 12:36:12 +0200 Subject: [PATCH] =?UTF-8?q?noch=20etwas=20motivation=20=C3=BCbrig,=20viell?= =?UTF-8?q?eicht=20klappts=20ja=20jetzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReallifeGamemode.Server/Events/Login.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ReallifeGamemode.Server/Events/Login.cs b/ReallifeGamemode.Server/Events/Login.cs index 6752437f..ef7770aa 100644 --- a/ReallifeGamemode.Server/Events/Login.cs +++ b/ReallifeGamemode.Server/Events/Login.cs @@ -109,23 +109,21 @@ namespace ReallifeGamemode.Server.Events player.TriggerEvent("enableSpawnschutz"); } - /* if (user.FactionId != null) { string msg = ""; if (user.Faction?.StateOwned ?? false) { - msg = "!{33AA33}** " + user.FactionRank.RankName + " " + player.Name + " meldet sich zum Dienst, over **"; + msg = "!{33AA33}** " + user.FactionRank?.RankName + " " + player.Name + " meldet sich zum Dienst, over **"; } else { - msg = "!{02FCFF}** " + user.FactionRank.RankName + " " + player.Name + " ist wieder online **"; + msg = "!{02FCFF}** " + user.FactionRank?.RankName + " " + player.Name + " ist wieder online **"; } ChatService.BroadcastFaction(msg, user.Faction); } - */ if (user.Group != null) {