summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-04-08 10:21:05 +1000
committermd_5 <git@md-5.net>2018-04-08 10:21:05 +1000
commitd729b3d1183b6e96922fa96930b016825aba5ce0 (patch)
tree7dbdceeaaec090e7723a17617b046d2e40017433
parent944d7974c7e9303ce077a98e158d4d60e6f60c6e (diff)
downloadbuildtools-d729b3d1183b6e96922fa96930b016825aba5ce0.tar
buildtools-d729b3d1183b6e96922fa96930b016825aba5ce0.tar.gz
buildtools-d729b3d1183b6e96922fa96930b016825aba5ce0.tar.lz
buildtools-d729b3d1183b6e96922fa96930b016825aba5ce0.tar.xz
buildtools-d729b3d1183b6e96922fa96930b016825aba5ce0.zip
Inverted sign in version check
-rw-r--r--src/main/java/org/spigotmc/builder/Bootstrap.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/spigotmc/builder/Bootstrap.java b/src/main/java/org/spigotmc/builder/Bootstrap.java
index aed1838..1628d73 100644
--- a/src/main/java/org/spigotmc/builder/Bootstrap.java
+++ b/src/main/java/org/spigotmc/builder/Bootstrap.java
@@ -20,7 +20,7 @@ public class Bootstrap
System.err.println( "*** WARNING *** You may use java -version to double check your Java version." );
}
- if ( javaVersion < 54.0 )
+ if ( javaVersion > 54.0 )
{
System.err.println( "*** WARNING *** Unsupported Java detected (" + javaVersion + "). BuildTools has only been tested up to Java 10. Use of development Java version is not supported." );
System.err.println( "*** WARNING *** You may use java -version to double check your Java version." );