Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
The system properties didn't change.
Dieser Commit ist enthalten in:
Ursprung
81e302e6d2
Commit
e3e4a59e43
@ -38,12 +38,12 @@ public class Velocity {
|
|||||||
// If Velocity's natives are being extracted to a different temporary directory, make sure the
|
// If Velocity's natives are being extracted to a different temporary directory, make sure the
|
||||||
// Netty natives are extracted there as well
|
// Netty natives are extracted there as well
|
||||||
if (System.getProperty("velocity.natives-tmpdir") != null) {
|
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
|
// Disable the resource leak detector by default as it reduces performance. Allow the user to
|
||||||
// override this if desired.
|
// override this if desired.
|
||||||
if (System.getProperty("io.netty5.leakDetection.level") == null) {
|
if (System.getProperty("io.netty.leakDetection.level") == null) {
|
||||||
ResourceLeakDetector.setLevel(Level.DISABLED);
|
ResourceLeakDetector.setLevel(Level.DISABLED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren