diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index e0f29ba1..db494d96 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; @@ -1276,7 +1276,7 @@ namespace ReallifeGamemode.Server.Commands cloth.Texture = texture; } dbContext.SaveChanges(); - NAPI.Player.SetPlayerClothes(player, component, drawable, texture); + NAPI.Player.SetPlayerClothes(target, component, drawable, texture); } }