Skip to content

Commit

Permalink
fuck
Browse files Browse the repository at this point in the history
  • Loading branch information
MistressPlague committed Dec 24, 2023
1 parent 9a0ee1d commit f005958
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Easy Minecraft Modpacks/MainUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,6 @@ private void Install(bool Delete = true)
{
try
{
Enabled = false;

MessageBox.Show("Please select your Minecraft directory.", "Info", MessageBoxButtons.OK, MessageBoxIcon.Information);

using var folderDialog = new SaveFileDialog();
Expand All @@ -371,6 +369,8 @@ private void Install(bool Delete = true)

if (folderDialog.ShowDialog() == DialogResult.OK)
{
Enabled = false;

var minecraftDirectory = Path.GetDirectoryName(folderDialog.FileName);

var modsFolder = Path.Combine(minecraftDirectory, "mods");
Expand Down

0 comments on commit f005958

Please sign in to comment.