This commit is contained in:
Siga
2020-03-28 19:47:44 +01:00
parent e0d55474b2
commit 79e1d708f7

View File

@@ -987,7 +987,7 @@ namespace ReallifeGamemode.Server.Commands
} }
[Command("clothes", "~m~Benutzung: ~s~/clothes [Spieler] [Component ID] [Drawable] (Textur)")] [Command("clothes", "~m~Benutzung: ~s~/clothes [Spieler] [Component ID] [Drawable] (Textur)")]
public void CmdAdminClothes(Player player, string name = null, int? component = null, int? drawable = null, int texture = 0) public void CmdAdminClothes(Player player, string? name = null, int? component = null, int? drawable = null, int texture = 0)
{ {
if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN2) ?? true) if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN2) ?? true)
{ {