From f47033c6540cf50e88b4b473e967dda58ae0b7a5 Mon Sep 17 00:00:00 2001 From: balbo Date: Tue, 4 Aug 2020 17:16:01 +0200 Subject: [PATCH] setclothes fix --- 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 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); } }