Disable excluding client only libraries from the server run.

Mojang hot-fixed netty on the client only, causing loom to think its now a client only lib...

This needs improving to not care about the versions.
This commit is contained in:
modmuss50
2022-06-08 19:26:07 +01:00
parent adc44ce0e9
commit 84a70b3e5d

View File

@@ -256,6 +256,14 @@ public class RunConfig {
}
public List<String> getExcludedLibraryPaths(Project project) {
if (true) {
/*
This whole excluded libraries idea breaks down when the server library version does not match the client.
This is a quick change to disable it meanwhile a proper solution is sorted.
*/
return Collections.emptyList();
}
if (!environment.equals("server")) {
return Collections.emptyList();
}