From e273256c6eeba6ca95ce65a6d59258b9b215805a Mon Sep 17 00:00:00 2001 From: Fabian Fabian Date: Wed, 4 Sep 2019 21:09:13 +0200 Subject: [PATCH] more fixes --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index 8e33f795..be592792 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -2852,7 +2852,7 @@ namespace ReallifeGamemode.Server.Commands [Command("makeadmin", "~m~Benutzung: ~s~/makeadmin [Name] [Adminlevel]")] public void CmdAdminSetadmin(Client player, string name, int rank) { - if ((!player.GetUser()?.IsAdmin(AdminLevel.PROJEKTLEITUNG) ?? true) && player.Name != "[LoG]balbo") + if ((!player.GetUser()?.IsAdmin(AdminLevel.PROJEKTLEITUNG) ?? true) && (player.Name != "[LoG]balbo" && player.Name != "[LoG]kookroach")) { ChatService.NotAuthorized(player); return;