diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index 2cfc2aa0..49212db0 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -3654,11 +3654,12 @@ namespace ReallifeGamemode.Server.Commands [RemoteEvent("Noclip")] public void Noclip(Player player) { - if (!player.GetUser()?.IsAdmin(AdminLevel.HEADADMIN) ?? true && player.HasData("Adminduty") && !player.GetData("Adminduty")) + if (!player.GetUser()?.IsAdmin(AdminLevel.HEADADMIN) ?? true) { return; } - player.TriggerEvent("ADMIN:NoClip"); + if(player.HasData("Adminduty") && player.GetData("Adminduty")) + player.TriggerEvent("ADMIN:NoClip"); } }