Enable IPv6 networking stack
This commit is contained in:
parent
c0704194ec
commit
76dc32ee32
@ -249,7 +249,6 @@ public class BungeeCord extends ProxyServer
|
|||||||
@SuppressFBWarnings("RV_RETURN_VALUE_IGNORED_BAD_PRACTICE")
|
@SuppressFBWarnings("RV_RETURN_VALUE_IGNORED_BAD_PRACTICE")
|
||||||
public void start() throws Exception
|
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
|
System.setProperty( "io.netty.selectorAutoRebuildThreshold", "0" ); // Seems to cause Bungee to stop accepting connections
|
||||||
if ( System.getProperty( "io.netty.leakDetectionLevel" ) == null )
|
if ( System.getProperty( "io.netty.leakDetectionLevel" ) == null )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user