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() } }