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); } }