#2015: Add flag -Dbungee.native=false to disable native code.
This commit is contained in:
parent
ea6680281f
commit
71b00d644f
@ -80,6 +80,6 @@ public final class NativeCode<T>
|
||||
|
||||
public static boolean isSupported()
|
||||
{
|
||||
return "Linux".equals( System.getProperty( "os.name" ) ) && "amd64".equals( System.getProperty( "os.arch" ) );
|
||||
return "Linux".equals( System.getProperty( "os.name" ) ) && "amd64".equals( System.getProperty( "os.arch" ) ) && Boolean.parseBoolean( System.getProperty( "bungee.native", "true" ) );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user