Skip to content

Commit

Permalink
Fix proxy environment test when no mods are required (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
Swedz authored Sep 17, 2024
1 parent ab0ac4a commit 66bea3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ public enum ProxyEnvironment

public boolean test(List<String> modIds)
{
return modIds.stream().allMatch(test);
return !modIds.isEmpty() ? modIds.stream().allMatch(test) : test.test("");
}
}

0 comments on commit 66bea3e

Please sign in to comment.