Merge pull request #844 from PlaceholderAPI/feature/1.19

1.19 support
This commit is contained in:
PiggyPiglet 2022-06-25 20:06:19 +08:00 committed by GitHub
commit 9baf5f58ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,7 @@ dependencies {
implementation "org.bstats:bstats-bukkit:2.2.1" implementation "org.bstats:bstats-bukkit:2.2.1"
implementation "net.kyori:adventure-platform-bukkit:4.0.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" compileOnly "org.jetbrains:annotations:22.0.0"
testImplementation "org.openjdk.jmh:jmh-core:1.32" testImplementation "org.openjdk.jmh:jmh-core:1.32"

View File

@ -43,7 +43,8 @@ public enum NMSVersion {
SPIGOT_1_16_R2("v1_16_R2"), SPIGOT_1_16_R2("v1_16_R2"),
SPIGOT_1_16_R3("v1_16_R3"), SPIGOT_1_16_R3("v1_16_R3"),
SPIGOT_1_17_R1("v1_17_R1"), 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_R1");
private final String version; private final String version;