diff --git a/proxy/src/main/java/com/velocitypowered/proxy/Velocity.java b/proxy/src/main/java/com/velocitypowered/proxy/Velocity.java index 6d26f1bf..9185a4f4 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/Velocity.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/Velocity.java @@ -34,7 +34,7 @@ public class Velocity { // Disable the resource leak detector by default as it reduces performance. Allow the user to // override this if desired. - if (System.getProperty("io.netty.leakDetection.level") != null) { + if (System.getProperty("io.netty.leakDetection.level") == null) { ResourceLeakDetector.setLevel(Level.DISABLED); } }