From 28287c7fbd54966841544853986736f4fbcd3689 Mon Sep 17 00:00:00 2001 From: Andre601 Date: Sat, 10 Jun 2023 17:59:55 +0200 Subject: [PATCH 1/2] 1.20 NMS version support --- src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java b/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java index 37c18b8..c49edfa 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java +++ b/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java @@ -46,7 +46,8 @@ public enum NMSVersion { SPIGOT_1_18_R1("v1_18_R1"), SPIGOT_1_19_R1("v1_19_R1"), SPIGOT_1_19_R2("v1_19_R2"), - SPIGOT_1_19_R3("v1_19_R3"); + SPIGOT_1_19_R3("v1_19_R3"), + SPIGOT_1_20_R1("v1_20_R1"); private final String version; From 74d8fec6bde7d45ea212f13c830aa13126acf98b Mon Sep 17 00:00:00 2001 From: Andre601 Date: Sat, 10 Jun 2023 18:13:10 +0200 Subject: [PATCH 2/2] Bump Spigot version --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index ba02025..83cb0ca 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -26,7 +26,7 @@ dependencies { implementation("org.bstats:bstats-bukkit:3.0.1") implementation("net.kyori:adventure-platform-bukkit:4.3.0") - compileOnly("org.spigotmc:spigot-api:1.19-R0.1-SNAPSHOT") + compileOnly("org.spigotmc:spigot-api:1.20-R0.1-SNAPSHOT") compileOnlyApi("org.jetbrains:annotations:23.0.0") testImplementation("org.openjdk.jmh:jmh-core:1.32")