Skip to content

Commit 66bea3e

Browse files
authored
Fix proxy environment test when no mods are required (#15)
1 parent ab0ac4a commit 66bea3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/swedz/tesseract/neoforge/proxy/ProxyEnvironment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ public enum ProxyEnvironment
4141

4242
public boolean test(List<String> modIds)
4343
{
44-
return modIds.stream().allMatch(test);
44+
return !modIds.isEmpty() ? modIds.stream().allMatch(test) : test.test("");
4545
}
4646
}

0 commit comments

Comments
 (0)