mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-28 03:27:37 +01:00
#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