From 325cd2d2844fe78e369aa2253e97a9ce5372caee Mon Sep 17 00:00:00 2001 From: darbyjack Date: Sun, 6 Sep 2020 16:39:15 -0500 Subject: [PATCH] Added support for 1.16.2 NMS changes --- 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 bda91d8..bc86bfc 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.1-R0.1-SNAPSHOT" + compileOnly "org.spigotmc:spigot-api:1.16.2-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 ac9a4af..cf2511c 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java +++ b/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java @@ -39,7 +39,8 @@ public enum NMSVersion { SPIGOT_1_13_R2("v1_13_R2"), SPIGOT_1_14_R1("v1_14_R1"), SPIGOT_1_15_R1("v1_15_R1"), - SPIGOT_1_16_R1("v1_16_R1"); + SPIGOT_1_16_R1("v1_16_R1"), + SPIGOT_1_16_R2("v1_16_R2"); private final String version;