Exemplo n.º 1
0
    public override void CollectedForCrafting(Item item, BasePlayer crafter)
    {
        BaseEntity heldEntity = item.GetHeldEntity();

        if (!(heldEntity == null))
        {
            HeldEntity heldEntity2 = heldEntity as HeldEntity;
            if (!(heldEntity2 == null))
            {
                heldEntity2.CollectedForCrafting(item, crafter);
            }
        }
    }
Exemplo n.º 2
0
    public override void CollectedForCrafting(Item item, BasePlayer crafter)
    {
        BaseEntity heldEntity = item.GetHeldEntity();

        if (heldEntity == null)
        {
            return;
        }
        HeldEntity heldEntity1 = heldEntity as HeldEntity;

        if (heldEntity1 == null)
        {
            return;
        }
        heldEntity1.CollectedForCrafting(item, crafter);
    }
Exemplo n.º 3
0
    public override void CollectedForCrafting(Item item, BasePlayer crafter)
    {
        BaseEntity heldEntity1 = item.GetHeldEntity();

        if (Object.op_Equality((Object)heldEntity1, (Object)null))
        {
            return;
        }
        HeldEntity heldEntity2 = heldEntity1 as HeldEntity;

        if (Object.op_Equality((Object)heldEntity2, (Object)null))
        {
            return;
        }
        heldEntity2.CollectedForCrafting(item, crafter);
    }