From e5c0c6aa30ca88495ac34dd6d95eee84dcf64846 Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 9 May 2021 19:37:54 +0200 Subject: [PATCH] =?UTF-8?q?/info=20als=20alias=20f=C3=BCr=20/checkstats=20?= =?UTF-8?q?hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index c14a6983..67064bf7 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -3813,7 +3813,7 @@ namespace ReallifeGamemode.Server.Commands player.SendChatMessage("~m~Benutzung:~s~ /business [price] [Option]"); } - [Command("checkstats", "~m~Benutzung:~s~ /checkstats [Spieler]")] + [Command("checkstats", "~m~Benutzung:~s~ /checkstats [Spieler]", Alias = "info")] public void CmdAdminCheckStats(Player player, string nameOrId) { User user = player.GetUser(); @@ -3838,7 +3838,7 @@ namespace ReallifeGamemode.Server.Commands bool flyingLicense = targetUser.FlyingLicensePlane; bool weaponLicense = targetUser.WeaponLicense; int playedHours = targetUser.PlayedMinutes / 60; - string playedHoursString = ""; + string playedHoursString; int jailTime = targetUser.JailTime; if (user.IsAdmin(AdminLevel.HEADADMIN))