Ejemplo n.º 1
0
        public override void Load()
        {
            instance = this;

            if (ModLoader.GetMod("TerrariaOverhaul") != null)
            {
                Logger.Warn("Terraria Overhaul detected, banner rack will not work because of Terraria Overhaul code changes.");
            }

            //if (ModLoader.version == new Version(0, 10, 0, 2))
            //{
            //	throw new Exception("\nThis mod mysteriously doesn't work with 0.10.0.2\n\n") { HelpLink = "www.google.com"};
            //}
        }
Ejemplo n.º 2
0
 public override void Unload()
 {
     instance = null;
     Tiles.BannerRackTE.itemToBanner.Clear();
 }