diff --git a/proxy/src/main/java/com/velocitypowered/proxy/network/TransportType.java b/proxy/src/main/java/com/velocitypowered/proxy/network/TransportType.java index beb42d92f..d53fc84b7 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/network/TransportType.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/network/TransportType.java @@ -67,6 +67,10 @@ enum TransportType { } public static TransportType bestType() { + if (Boolean.getBoolean("velocity.disable-native-transport")) { + return NIO; + } + if (Epoll.isAvailable()) { return EPOLL; } else if (KQueue.isAvailable()) {