public override void Unload() { StorageUI = null; CraftingUI = null; Instance = null; }
public override void Unload() { Instance = null; bluemagicMod = null; legendMod = null; StorageGUI.Unload(); CraftingGUI.Unload(); }
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"); }
public override void Load() { Instance = this; if (!Main.dedServ) { UI = new UserInterface(); StorageUI = new StorageGUI(); CraftingUI = new CraftingGUI(); } }
public override void Unload() { Instance = null; bluemagicMod = null; legendMod = null; }