fixfixfix
This commit is contained in:
@@ -1013,8 +1013,8 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
cloth = new CharacterCloth()
|
cloth = new CharacterCloth()
|
||||||
{
|
{
|
||||||
Duty = duty,
|
Duty = duty,
|
||||||
ClothId = drawable,
|
ClothId = drawable.Value,
|
||||||
SlotId = component,
|
SlotId = component.Value,
|
||||||
SlotType = 0,
|
SlotType = 0,
|
||||||
Texture = texture,
|
Texture = texture,
|
||||||
UserId = user.Id,
|
UserId = user.Id,
|
||||||
@@ -1023,11 +1023,11 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cloth.ClothId = drawable;
|
cloth.ClothId = drawable.Value;
|
||||||
cloth.Texture = texture;
|
cloth.Texture = texture;
|
||||||
}
|
}
|
||||||
dbContext.SaveChanges();
|
dbContext.SaveChanges();
|
||||||
target.SetClothes(component, drawable, texture);
|
target.SetClothes(component.Value, drawable.Value, texture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user