private static void setDimensionPath(TUAPlayer p, Dictionary <string, LocalizedText> dictionary, FieldInfo textInfo)
        {
            if (p != null)
            {
                if (p.currentDimension == "solar")
                {
                    Main.WorldPath            = Main.SavePath + "/World/solar";
                    Main.LocalPlayer.zone3[4] = false;

                    if (Main.menuMode == 16)
                    {
                        Main.menuMode = 6;
                    }

                    if (Main.menuMode == 6)
                    {
                        textInfo.SetValue(dictionary["UI.New"], "Option blocked");
                        textInfo.SetValue(dictionary["UI.SelectWorld"], "Dimension : Solar");
                    }
                }
                else
                if (p.currentDimension == "overworld")
                {
                    Main.WorldPath = Main.SavePath + "/World";
                }
            }
        }
        public override void UpdateMusic(ref int music)
        {
            if (Main.myPlayer != -1 && Main.gameMenu && Main.LocalPlayer.name != "")
            {
                TUAPlayer p    = Main.player[Main.myPlayer].GetModPlayer <TUAPlayer>();
                FieldInfo info = typeof(LanguageManager).GetField("_localizedTexts", BindingFlags.Instance | BindingFlags.NonPublic);
                Dictionary <string, LocalizedText> dictionary = info.GetValue(LanguageManager.Instance) as Dictionary <string, LocalizedText>;

                FieldInfo textInfo = typeof(LocalizedText).GetField("value", BindingFlags.Instance | BindingFlags.NonPublic);
                resetMenu(dictionary, textInfo);
                setDimensionPath(p, dictionary, textInfo);
            }
            if (Main.myPlayer != -1 && !Main.gameMenu && Main.LocalPlayer.active)
            {
                TUAPlayer p = Main.LocalPlayer.GetModPlayer <TUAPlayer>(this);
                if (BiomeLibs.InBiome("Meteoridon"))
                {
                    music = MusicID.TheHallow;
                }
                else if (BiomeLibs.InBiome("Plagues"))
                {
                    music = MusicID.LunarBoss;
                }
                else if (TUAWorld.apocalypseMoon)
                {
                    music = MusicID.LunarBoss;
                }
                else if (p.currentDimension == "solar")
                {
                    music         = MusicID.TheTowers;
                    Main.musicBox = 36;
                }
            }
        }