From f52bdbc458f75b091679d131c6e9da5ef9214891 Mon Sep 17 00:00:00 2001 From: darbyjack Date: Mon, 2 Nov 2020 14:35:55 -0600 Subject: [PATCH] Compile under 1.16.4 + add new NMS support --- build.gradle | 2 +- src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index bc86bfc..a3491a6 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ dependencies { implementation "com.google.code.gson:gson:2.8.6" implementation "org.bstats:bstats-bukkit:1.5" - compileOnly "org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT" + compileOnly "org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT" compileOnly "org.jetbrains:annotations:19.0.0" testImplementation "org.openjdk.jmh:jmh-core:1.23" diff --git a/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java b/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java index cf2511c..acd7e0d 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java +++ b/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java @@ -40,7 +40,8 @@ public enum NMSVersion { SPIGOT_1_14_R1("v1_14_R1"), SPIGOT_1_15_R1("v1_15_R1"), SPIGOT_1_16_R1("v1_16_R1"), - SPIGOT_1_16_R2("v1_16_R2"); + SPIGOT_1_16_R2("v1_16_R2"), + SPIGOT_1_16_R3("v1_16_R3"); private final String version;