Skip to content

Commit

Permalink
update samples
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaBs committed Apr 13, 2020
1 parent d4fe528 commit 79ead1c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion CmlLibCoreSample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ void Start(MSession session)
Console.WriteLine($"Initialized in {launcher.Minecraft.path}");

launcher.UpdateProfileInfos();

foreach (var item in launcher.ProfileInfos)
{
Console.WriteLine(item.Name);
Expand Down
2 changes: 1 addition & 1 deletion CmlLibWinFormSample/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private void InitializeLauncher()

Launcher.FileChanged += Launcher_FileChanged;
Launcher.ProgressChanged += Launcher_ProgressChanged;
var versions = Launcher.UpdateProfileInfos();
var versions = Launcher.UpdateProfiles();

Invoke(new Action(() =>
{
Expand Down

0 comments on commit 79ead1c

Please sign in to comment.