3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-16 21:10:30 +01:00

The system properties didn't change.

Dieser Commit ist enthalten in:
Andrew Steinborn 2022-03-19 18:32:27 -04:00
Ursprung 81e302e6d2
Commit e3e4a59e43

Datei anzeigen

@ -38,12 +38,12 @@ public class Velocity {
// If Velocity's natives are being extracted to a different temporary directory, make sure the
// Netty natives are extracted there as well
if (System.getProperty("velocity.natives-tmpdir") != null) {
System.setProperty("io.netty5.native.workdir", System.getProperty("velocity.natives-tmpdir"));
System.setProperty("io.netty.native.workdir", System.getProperty("velocity.natives-tmpdir"));
}
// Disable the resource leak detector by default as it reduces performance. Allow the user to
// override this if desired.
if (System.getProperty("io.netty5.leakDetection.level") == null) {
if (System.getProperty("io.netty.leakDetection.level") == null) {
ResourceLeakDetector.setLevel(Level.DISABLED);
}
}