Skip to content

Commit

Permalink
fix download mod
Browse files Browse the repository at this point in the history
  • Loading branch information
lxymahatma committed Aug 14, 2024
1 parent 329e2f5 commit 3bad56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/Services/ModService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public async Task InitializeModList(SourceCache<Mod, string> sourceCache, ReadOn

public async Task OnInstallModAsync(Mod item)
{
if (!string.IsNullOrEmpty(item.DownloadLink))
if (string.IsNullOrEmpty(item.DownloadLink))
{
Logger.Error("Download link of mod {Name} is empty", item.Name);
await MessageBoxService.ErrorMessageBox(MsgBox_Content_NoDownloadLink);
Expand Down

0 comments on commit 3bad56f

Please sign in to comment.