Пример #1
0
        public override ModItem Clone(Item item)
        {
            RecieverChestSelector newItem = (RecieverChestSelector)this.NewInstance(item);

            newItem.topLeft = this.topLeft;
            newItem.active  = this.active;
            return((ModItem)newItem);
        }
Пример #2
0
        public override ModItem Clone()
        {
            RecieverChestSelector newItem = (RecieverChestSelector)base.MemberwiseClone();

            newItem.topLeft = this.topLeft;
            newItem.active  = this.active;
            return((ModItem)newItem);
        }