mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-27 20:59:12 +01:00
In favour of #678 - use supported class version
This commit is contained in:
parent
5dc91e3a01
commit
4dff25f880
@ -39,9 +39,9 @@ public class Bootstrap
|
||||
return;
|
||||
}
|
||||
|
||||
if ( !System.getProperty( "java.version" ).startsWith( "1.7" ) )
|
||||
if ( Float.parseFloat( System.getProperty( "java.class.version" ) ) < 51.0 )
|
||||
{
|
||||
System.err.println( "*** ERROR *** BungeeCord requires Java 7 to function!" );
|
||||
System.err.println( "*** ERROR *** BungeeCord requires Java 7 or above to function!" );
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user