Enable IPv6 networking stack

This commit is contained in:
md_5 2018-06-20 15:43:57 +10:00
parent c0704194ec
commit 76dc32ee32

View File

@ -249,7 +249,6 @@ public class BungeeCord extends ProxyServer
@SuppressFBWarnings("RV_RETURN_VALUE_IGNORED_BAD_PRACTICE")
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
if ( System.getProperty( "io.netty.leakDetectionLevel" ) == null )
{