From 9fa0a8b27bc592f9323f3c1a2ad983545226b7ee Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Tue, 22 Jun 2021 23:49:31 +0200 Subject: [PATCH] Update ServerLib & remove Java version check We now require Java 16 onwards --- Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java | 2 -- gradle/libs.versions.toml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java index 8b479fb39..ea6be0b79 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java @@ -559,8 +559,6 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl // Check if we are in a safe environment ServerLib.checkUnsafeForks(); - // Check whether the server runs on 16 or greater - ServerLib.checkJavaLTS(); } private void unload() { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 59e9c05be..ada72d9c1 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -37,7 +37,7 @@ paperlib = "1.0.6" mvdwapi = "3.1.1" squirrelid = "1.0.0-SNAPSHOT" -serverlib = "2.1.0" +serverlib = "2.2.1" http4j = "1.1-SNAPSHOT" [libraries]