From e3e4a59e4385e5957e0f3adbf00080cfc516ebe5 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sat, 19 Mar 2022 18:32:27 -0400 Subject: [PATCH] The system properties didn't change. --- proxy/src/main/java/com/velocitypowered/proxy/Velocity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/Velocity.java b/proxy/src/main/java/com/velocitypowered/proxy/Velocity.java index d768a2e3d..aa9721767 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/Velocity.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/Velocity.java @@ -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); } }