Apply mitigation's against Log4J2 exploit CVE-2021-44228.

This commit is contained in:
modmuss50
2021-12-10 10:59:14 +00:00
parent b550ca7857
commit 4eb0290bb4
2 changed files with 7 additions and 6 deletions

View File

@@ -58,6 +58,7 @@ public class LaunchProvider extends DependencyProvider {
.property("fabric.development", "true")
.property("fabric.remapClasspathFile", getRemapClasspathFile().getAbsolutePath())
.property("log4j.configurationFile", getAllLog4JConfigFiles())
.property("log4j2.formatMsgNoLookups", "true")
.property("client", "java.library.path", getExtension().getMinecraftProvider().nativesDir().getAbsolutePath())
.property("client", "org.lwjgl.librarypath", getExtension().getMinecraftProvider().nativesDir().getAbsolutePath())