Esempio n. 1
0
        public TileEntityBanner(TileEntity te) : base(te)
        {
            var teb = te as TileEntityBanner;

            if (teb != null)
            {
                CustomName = teb.CustomName;
                Patterns   = (BannerPattern[])teb.Patterns.Clone();
                BaseColor  = teb.BaseColor;
            }
            else
            {
                Patterns = new BannerPattern[0];
            }
        }
Esempio n. 2
0
 public TileEntityBanner() : base(TypeId)
 {
     Patterns = new BannerPattern[0];
 }