public void Drop(Item item)
        {
            RemoveFromInventory(item);
            var worldItem = WorldItemData.Get("chest").Spawn <WorldItem>(world, handPosition(), yaw, this, this, team);

            worldItem.item = item;
        }
 override protected void Die()
 {
     base.Die();
     decayTime = 5;
     foreach (var i in loot)
     {
         if (i != null)
         {
             var worldItem = WorldItemData.Get("Chest").Spawn <WorldItem>(world, position, yaw, this, null, team);
             worldItem.item     = i;
             worldItem.velocity = new Vector3(UnityEngine.Random.Range(-5f, 5f), 12, UnityEngine.Random.Range(-5f, 5f));
         }
     }
 }