From 250a35e53b20ec63e6e442da8a04b88b642dbd30 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Tue, 21 Jul 2020 11:52:31 -0400 Subject: [PATCH] Fix typo, thanks @hugmanrique for spotting this --- proxy/src/main/java/com/velocitypowered/proxy/Velocity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }