fix drop weapon create

This commit is contained in:
kookroach
2021-04-05 03:03:41 +02:00
parent 12e7070343
commit f7794c268c

View File

@@ -560,6 +560,7 @@ namespace ReallifeGamemode.Server.Managers
Vector3 textPos = dropPosition;
if (iItem is IWeaponDealItem obj)
{
player.ClearAttachments();
dropPosition.Z -= 1.05f;
grndObject = NAPI.Object.CreateObject(3666746839, dropPosition, new Vector3(0, 0, r.Next(0, 360)), 255, 0);
}