docs: 更新代码示例

This commit is contained in:
2024-02-20 00:10:20 +08:00
parent b669f671df
commit 4e551f3564
3 changed files with 4 additions and 4 deletions

View File

@@ -49,9 +49,9 @@ repositories {
dependencies { dependencies {
// 对于 Bukkit 插件 // 对于 Bukkit 插件
compileOnly "cn.hamster3.mc.plugin:ball-bukkit:1.5.1" compileOnly("cn.hamster3.mc.plugin:ball-bukkit:1.5.1")
// 对于 BungeeCord 插件 // 对于 BungeeCord 插件
compileOnly "cn.hamster3.mc.plugin:ball-bungee:1.5.1" compileOnly("cn.hamster3.mc.plugin:ball-bungee:1.5.1")
} }
``` ```

View File

@@ -6,7 +6,7 @@ dependencies {
} }
compileOnly("org.spigotmc:spigot-api:1.20.4-R0.1-SNAPSHOT") compileOnly("org.spigotmc:spigot-api:1.20.4-R0.1-SNAPSHOT")
compileOnly("cn.hamster3.mc.plugin:core-bukkit:1.2.0") compileOnly("cn.hamster3.mc.plugin:core-bukkit:1.2.2")
compileOnly("me.clip:placeholderapi:2.11.5") { compileOnly("me.clip:placeholderapi:2.11.5") {
isTransitive = false isTransitive = false
} }

View File

@@ -8,7 +8,7 @@ dependencies {
} }
compileOnly("net.md-5:bungeecord-api:1.20-R0.1") compileOnly("net.md-5:bungeecord-api:1.20-R0.1")
compileOnly("cn.hamster3.mc.plugin:core-bungee:1.2.0") compileOnly("cn.hamster3.mc.plugin:core-bungee:1.2.2")
} }
tasks { tasks {