From 5536b8a398149bfcef63e5730da91609a6a35435 Mon Sep 17 00:00:00 2001 From: srnyx <25808801+srnyx@users.noreply.github.com> Date: Tue, 9 Apr 2024 21:58:58 -0400 Subject: [PATCH] Allow 1.18+ No point in not supporting it, as no API used is exclusive to any versions higher Should wait for LapisCore to update first, but not required, as the plugin will still function with LapisCore being built on 1.20.2 --- build.gradle | 2 +- src/main/resources/plugin.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 34597c7..35b523d 100644 --- a/build.gradle +++ b/build.gradle @@ -54,7 +54,7 @@ dependencies { implementation 'org.ocpsoft.prettytime:prettytime:5.0.7.Final' compileOnly 'net.essentialsx:EssentialsX:2.20.1' compileOnly 'net.luckperms:api:5.4' - compileOnly 'org.spigotmc:spigot-api:1.20.4-R0.1-SNAPSHOT' + compileOnly 'org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT' } processResources { diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 3076b05..ab7fced 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ name: AFKPlus version: ${project.version} main: net.lapismc.afkplus.AFKPlus -api-version: 1.19 +api-version: 1.18 softdepend: [ PlaceholderAPI, Essentials, LuckPerms ] authors: [Dart2112] description: AFK for professional servers \ No newline at end of file