This commit is contained in:
2021-04-07 17:34:18 +02:00
parent 5cea81de72
commit 78f4e136ee
5 changed files with 47 additions and 41 deletions

View File

@@ -1205,7 +1205,7 @@ namespace ReallifeGamemode.Server.Commands
[Command("respawnvehicle", "~m~Benutzung: ~s~/respawnvehicle (Db ID)", Alias = "rveh")]
public void CmdAdminRespawnVehicle(Player player, int id = -1)
{
if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN) ?? true)
if (!player.GetUser()?.IsAdmin(AdminLevel.SUPPORTER) ?? true) //change back to Admin
{
ChatService.NotAuthorized(player);
return;