fix drop wt package
This commit is contained in:
@@ -563,6 +563,7 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
if (iItem is IWeaponDealItem obj)
|
if (iItem is IWeaponDealItem obj)
|
||||||
{
|
{
|
||||||
player.ClearAttachments();
|
player.ClearAttachments();
|
||||||
|
player.ClearAnimation();
|
||||||
dropPosition.Z -= 1.05f;
|
dropPosition.Z -= 1.05f;
|
||||||
grndObject = NAPI.Object.CreateObject(3666746839, dropPosition, new Vector3(0, 0, r.Next(0, 360)), 255, 0);
|
grndObject = NAPI.Object.CreateObject(3666746839, dropPosition, new Vector3(0, 0, r.Next(0, 360)), 255, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user