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; } }