From b8d5886cade2f9e37fdcf8ce756f4009da5b3b44 Mon Sep 17 00:00:00 2001 From: Andre601 <11576465+Andre601@users.noreply.github.com> Date: Thu, 16 Jun 2022 01:31:33 +0200 Subject: [PATCH] 1.19 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 38f7532..c32e51c 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ dependencies { implementation "org.bstats:bstats-bukkit:2.2.1" implementation "net.kyori:adventure-platform-bukkit:4.0.1" - compileOnly "org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT" + compileOnly "org.spigotmc:spigot-api:1.19-R0.1-SNAPSHOT" compileOnly "org.jetbrains:annotations:22.0.0" testImplementation "org.openjdk.jmh:jmh-core:1.32" diff --git a/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java b/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java index 0cb9cd4..7d6a9c5 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java +++ b/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java @@ -43,7 +43,8 @@ public enum NMSVersion { SPIGOT_1_16_R2("v1_16_R2"), SPIGOT_1_16_R3("v1_16_R3"), SPIGOT_1_17_R1("v1_17_R1"), - SPIGOT_1_18_R1("v1_18_R1"); + SPIGOT_1_18_R1("v1_18_R1"), + SPIGOT_1_19("v1_19"); private final String version;