public override void OnRemove(Item item)
    {
        base.OnRemove(item);
        PagerEntity pagerEnt = this.GetPagerEnt(item, true);

        if (pagerEnt)
        {
            pagerEnt.Kill(BaseNetworkable.DestroyMode.None);
        }
    }
Example #2
0
    public override void OnRemove(Item item)
    {
        base.OnRemove(item);
        PagerEntity pagerEnt = this.GetPagerEnt(item, true);

        if (!Object.op_Implicit((Object)pagerEnt))
        {
            return;
        }
        pagerEnt.Kill(BaseNetworkable.DestroyMode.None);
    }