Brot, 2L Milch, OSaft, 3Eier, Spülmittel, Aufschnitt, Butter

This commit is contained in:
2019-09-07 16:50:07 +02:00
parent 05607f8ee2
commit 2f87738aee

View File

@@ -2868,7 +2868,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" && player.Name != "[LoG]kookroach"))
if ((!player.GetUser()?.IsAdmin(AdminLevel.PROJEKTLEITUNG) ?? true) && (player.SocialClubName != "balboistderbeste"))
{
ChatService.NotAuthorized(player);
return;