From 751fc4c311b4c4b5c15bb92f13ebf2f1e0586811 Mon Sep 17 00:00:00 2001 From: hydrant Date: Sun, 9 May 2021 21:38:15 +0200 Subject: [PATCH] /adice raus --- .../Commands/AdminCommands.cs | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index ce058b3d..11e6a587 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -1551,26 +1551,6 @@ namespace ReallifeGamemode.Server.Commands } } - [Command("adice", "~m~Benutzung: ~s~/adice [Zahl]")] - public void CmdUserAdice(Player player, int number) - { - if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN) ?? true) - { - ChatService.NotAuthorized(player); - return; - } - - if (!player.IsLoggedIn()) return; - - var peopleInRange = NAPI.Player.GetPlayersInRadiusOfPlayer(7, player); - - foreach (var managedPlayer in peopleInRange) - { - if (!managedPlayer.IsLoggedIn()) return; - ChatService.SendMessage(managedPlayer, "* " + player.Name + " hat eine " + number + " gewürfelt."); - } - } - [Command("veh", "~m~Benutzung: ~s~/veh [Fahrzeug] (Farbe 1) (Farbe 2)")] public void CmdAdminVeh(Player player, string hash, int color1 = 111, int color2 = 111) {