From 41b0cf0ac0b9e02fdf6be80f8298ff90073564a2 Mon Sep 17 00:00:00 2001 From: "michael.reiswich" Date: Wed, 24 Mar 2021 18:01:59 +0100 Subject: [PATCH] erstmal so --- 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 8bcfb00c..785cdb13 100644 --- a/ReallifeGamemode.Server/Commands/FactionCommands.cs +++ b/ReallifeGamemode.Server/Commands/FactionCommands.cs @@ -177,7 +177,7 @@ namespace ReallifeGamemode.Server.Commands [Command("lc", "~m~Benutzung: ~s~/lc [Nachricht]", GreedyArg = true)] public void CmdFactionLc(Player player, string message) { - if ((player.GetUser()?.FactionId == null || player.GetUser().FactionLeader == false) || player.HasData("toglc") == false ) + if (player.GetUser()?.FactionId == null || player.GetUser().FactionLeader == false) { ChatService.NotAuthorized(player); return;