From 1e9a797143b0fac13f35e78f5ef7967d8a8856ba Mon Sep 17 00:00:00 2001 From: BERADQ Date: Fri, 8 Nov 2024 18:38:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20taboolib=20=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 14 ++++++++------ .../io/github/beradq/adybubbles/AdyBubbles.kt | 4 ++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index cfebcd0..4c1cc01 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,18 +1,20 @@ -import io.izzel.taboolib.gradle.BUKKIT_ALL -import io.izzel.taboolib.gradle.NMS_UTIL -import io.izzel.taboolib.gradle.UNIVERSAL +import io.izzel.taboolib.gradle.* import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { java - id("io.izzel.taboolib") version "2.0.11" + id("io.izzel.taboolib") version "2.0.18" id("org.jetbrains.kotlin.jvm") version "1.8.22" } taboolib { env { // 安装模块 - install(UNIVERSAL, BUKKIT_ALL, NMS_UTIL) + install(Basic) + install(Bukkit) + install(BukkitUtil) + install(BukkitNMS) + install(BukkitNMSUtil) } description { name("AdyBubbles") @@ -25,7 +27,7 @@ taboolib { } load("POSTWORLD") } - version { taboolib = "6.1.2-beta10" } + version { taboolib = "6.2.0-beta33" } } repositories { diff --git a/src/main/kotlin/io/github/beradq/adybubbles/AdyBubbles.kt b/src/main/kotlin/io/github/beradq/adybubbles/AdyBubbles.kt index 863f2a8..2ff6fae 100644 --- a/src/main/kotlin/io/github/beradq/adybubbles/AdyBubbles.kt +++ b/src/main/kotlin/io/github/beradq/adybubbles/AdyBubbles.kt @@ -16,7 +16,7 @@ import taboolib.common.platform.function.submit object AdyBubbles : Plugin() { - const val versionName = "2.5.2" + private const val VERSION_NAME = "2.5.2" val adyApi: AdyeshachAPI = Adyeshach.api() val hologramHandler = adyApi.getHologramHandler() @@ -33,7 +33,7 @@ object AdyBubbles : Plugin() { info("\u001B[36m" + " / ___ / /_/ / /_/ / /_/ / /_/ / /_/ / /_/ / / __(__ ) " + "\u001B[0m") info("\u001B[36m" + "/_/ |_\\__,_/\\__, /_____/\\__,_/_.___/_.___/_/\\___/____/ " + "\u001B[0m") info("\u001B[36m" + " /____/ " + "\u001B[0m") - info("\u001B[34mAdyBubbles \u001B[33m$versionName\u001B[32m 已加载!\u001B[0m") + info("\u001B[34mAdyBubbles \u001B[33m$VERSION_NAME\u001B[32m 已加载!\u001B[0m") this.cancel() } }