Skip to content

Commit 30e4864

Browse files
committed
fix: issue #53
1 parent a62973e commit 30e4864

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

bukkit/build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ repositories {
1414
maven("https://oss.sonatype.org/content/repositories/snapshots")
1515
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
1616
maven("https://repo.extendedclip.com/releases/")
17+
maven("https://repo.opencollab.dev/main/")
1718
mavenCentral()
1819
}
1920

common/build.gradle.kts

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ repositories {
1212
maven("https://repo.extendedclip.com/releases/")
1313
maven("https://oss.sonatype.org/content/repositories/snapshots")
1414
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
15+
maven("https://repo.opencollab.dev/main/")
1516
mavenCentral()
1617
}
1718

@@ -23,6 +24,7 @@ dependencies {
2324
compileOnly("com.github.alazeprt:AConfiguration:1.2")
2425
compileOnly("com.github.alazeprt:taboolib-database:1.0.4")
2526
compileOnly("me.lucko:spark-api:0.1-SNAPSHOT")
27+
compileOnly("org.geysermc.geyser:api:2.4.2-SNAPSHOT")
2628
}
2729

2830
tasks.withType<JavaCompile> {

common/src/main/kotlin/top/alazeprt/aqqbot/event/AEventUtil.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ object AEventUtil {
3333
plugin.enableGroups.forEach {
3434
val messagePath = "notify.player_status.${if (isJoin) "join" else "leave"}"
3535
BotProvider.getBot()?.action(
36-
SendGroupMessage(it.toLong(), if (plugin.generalConfig.getStringList(messagePath).isEmpty())
36+
SendGroupMessage(it.toLong(), (if (plugin.generalConfig.getStringList(messagePath).isEmpty())
3737
plugin.generalConfig.getString(messagePath)?: "" else plugin.generalConfig
38-
.getStringList(messagePath).random()
38+
.getStringList(messagePath).random())
3939
.replace("\${playerName}", playerName)
4040
.replace("\${userId}", qq.toString()), true)
4141
)

velocity/build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ repositories {
1313
maven("https://jitpack.io")
1414
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
1515
maven("https://oss.sonatype.org/content/repositories/snapshots")
16+
maven("https://repo.opencollab.dev/main/")
1617
mavenCentral()
1718
}
1819

0 commit comments

Comments
 (0)