setclothes fix

This commit is contained in:
2020-08-04 17:16:01 +02:00
parent 56520d9281
commit f47033c654

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Net.Http; using System.Net.Http;
@@ -1276,7 +1276,7 @@ namespace ReallifeGamemode.Server.Commands
cloth.Texture = texture; cloth.Texture = texture;
} }
dbContext.SaveChanges(); dbContext.SaveChanges();
NAPI.Player.SetPlayerClothes(player, component, drawable, texture); NAPI.Player.SetPlayerClothes(target, component, drawable, texture);
} }
} }