Esempio n. 1
0
 public override void Unload()
 {
     Instance     = null;
     bluemagicMod = null;
     legendMod    = null;
     StorageGUI.Unload();
     CraftingGUI.Unload();
 }
Esempio n. 2
0
 public override void Load()
 {
     if (ModLoader.version < requiredVersion)
     {
         throw new Exception("Magic storage requires a tModLoader version of at least " + requiredVersion);
     }
     Instance = this;
     InterfaceHelper.Initialize();
     legendMod    = ModLoader.GetMod("LegendOfTerraria3");
     bluemagicMod = ModLoader.GetMod("Bluemagic");
     AddTranslations();
 }