more fixes
This commit is contained in:
@@ -2852,7 +2852,7 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
[Command("makeadmin", "~m~Benutzung: ~s~/makeadmin [Name] [Adminlevel]")]
|
[Command("makeadmin", "~m~Benutzung: ~s~/makeadmin [Name] [Adminlevel]")]
|
||||||
public void CmdAdminSetadmin(Client player, string name, int rank)
|
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);
|
ChatService.NotAuthorized(player);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user