From 659fe649ed08a23ce0c97ab4287cd962f4549284 Mon Sep 17 00:00:00 2001 From: Intelli Date: Fri, 25 Feb 2022 16:53:05 -0700 Subject: [PATCH] Changed minimum required Java version to Java 11 --- pom.xml | 4 ++-- src/main/java/net/coreprotect/config/ConfigHandler.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 1acf536..9d6162e 100755 --- a/pom.xml +++ b/pom.xml @@ -25,8 +25,8 @@ maven-compiler-plugin 3.8.1 - 1.8 - 1.8 + 11 + 11 diff --git a/src/main/java/net/coreprotect/config/ConfigHandler.java b/src/main/java/net/coreprotect/config/ConfigHandler.java index d050ef1..6da3492 100644 --- a/src/main/java/net/coreprotect/config/ConfigHandler.java +++ b/src/main/java/net/coreprotect/config/ConfigHandler.java @@ -42,7 +42,7 @@ public class ConfigHandler extends Queue { public static final int EDITION_VERSION = 2; public static final String EDITION_BRANCH = Util.getBranch(); public static final String EDITION_NAME = Util.getPluginName(); - public static final String JAVA_VERSION = "1.8"; + public static final String JAVA_VERSION = "11.0"; public static final String SPIGOT_VERSION = "1.14"; public static String path = "plugins/CoreProtect/"; public static String sqlite = "database.db";