From 2bea334ba8b725f8a03972cb72d16198a2f7995f Mon Sep 17 00:00:00 2001 From: hydrant Date: Sun, 9 May 2021 21:22:55 +0200 Subject: [PATCH] /setdimension ab headadmin --- 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 aa90d96a..ce058b3d 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -830,7 +830,7 @@ namespace ReallifeGamemode.Server.Commands [Command("setdimension", "~m~Benutzung: ~s~/setdimension [Spieler] [Dimension]")] public void CmdAdminSetDimension(Player player, string targetname, uint dimension) { - if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN) ?? true) + if (!player.GetUser()?.IsAdmin(AdminLevel.HEADADMIN) ?? true) { ChatService.NotAuthorized(player); return;