public override void ReturnedFromCancelledCraft(Item item, BasePlayer crafter) { BaseEntity heldEntity = item.GetHeldEntity(); if (!(heldEntity == null)) { HeldEntity heldEntity2 = heldEntity as HeldEntity; if (!(heldEntity2 == null)) { heldEntity2.ReturnedFromCancelledCraft(item, crafter); } } }
public override void ReturnedFromCancelledCraft(Item item, BasePlayer crafter) { BaseEntity heldEntity = item.GetHeldEntity(); if (heldEntity == null) { return; } HeldEntity heldEntity1 = heldEntity as HeldEntity; if (heldEntity1 == null) { return; } heldEntity1.ReturnedFromCancelledCraft(item, crafter); }
public override void ReturnedFromCancelledCraft(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.ReturnedFromCancelledCraft(item, crafter); }