some fixes

This commit is contained in:
2024-06-22 11:22:02 +02:00
parent 20c1e5dc8e
commit 4b78ce1b6f
3 changed files with 13 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ namespace ModpackUpdater;
public partial class Form1
{
private ModpackInfo modpackInfo = null;
private ModpackInfo modpackInfo = new();
private ModpackConfig updateConfig = new();
private bool currentUpdating = false;
private UpdateCheckResult lastUpdateCheckResult = null;
@@ -94,7 +94,7 @@ public partial class Form1
{
RadTextBoxControl_MinecraftProfileFolder.Text = folderPath;
if (IsUpdateConfigLoaded())
if (IsMinecaftProfileLoaded())
{
try
{