public override void OnEnterWorld(Player player)
        {
            //Auto Team
            if (Main.LocalPlayer == player)
            {
                team = DesiccationConfig.GetTeam();
                Main.LocalPlayer.team = team;
            }
            //Enter Text
            Main.NewText("Thanks for playing with Desiccation", 145, 220, 196);

            //Background Swap Back
            BackgroundReReplacing();
        }
 public override void SendClientChanges(ModPlayer localPlayer)
 {
     //Auto Team
     if (team != Main.LocalPlayer.team)
     {
         team = Main.LocalPlayer.team;
         DesiccationConfig.SaveTeam((byte)team);
     }
     if (!teamLoaded)
     {
         if (Main.LocalPlayer.team > 0)
         {
             NetMessage.SendData(45, -1, -1, null, Main.myPlayer, 0f, 0f, 0f, 0, 0, 0);
         }
         teamLoaded = true;
     }
 }