diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java index f038275a..06308c76 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java @@ -186,6 +186,8 @@ public class BungeeCord extends ProxyServer @Override public void start() throws Exception { + System.setProperty( "java.net.preferIPv4Stack", "true" ); // Minecraft does not support IPv6 + System.setProperty( "io.netty.selectorAutoRebuildThreshold", "0" ); // Seems to cause Bungee to stop accepting connections ResourceLeakDetector.setEnabled( false ); // Eats performance File moduleDirectory = new File( "modules" );