erstmal so

This commit is contained in:
michael.reiswich
2021-03-24 18:01:59 +01:00
parent 2fa0633010
commit 41b0cf0ac0

View File

@@ -177,7 +177,7 @@ namespace ReallifeGamemode.Server.Commands
[Command("lc", "~m~Benutzung: ~s~/lc [Nachricht]", GreedyArg = true)] [Command("lc", "~m~Benutzung: ~s~/lc [Nachricht]", GreedyArg = true)]
public void CmdFactionLc(Player player, string message) 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); ChatService.NotAuthorized(player);
return; return;