Skip to content

Commit 28778ca

Browse files
authored
Refactor scoreboard implementation and update dependencies (#303)
2 parents 3196c19 + 6066740 commit 28778ca

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
77
javaVersion=25
88
mcVersion=26.1.1
99
group=dev.slne.surf.api
10-
version=3.0.7
10+
version=3.0.8
1111
relocationPrefix=dev.slne.surf.api.libs
1212
snapshot=false

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ commandapi = "11.2.0"
1919
luckperms = "v5.5.0-bukkit"
2020

2121
# Scoreboard Library
22-
scoreboard-library = "2.7.1"
22+
scoreboard-library = "2.7.3"
2323
scoreboard-library-implementation = "2.7.1"
2424

2525
# Adventure

surf-api-paper/surf-api-paper-server/src/main/kotlin/dev/slne/surf/api/paper/server/impl/scoreboard/SurfScoreboardApiImpl.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ class SurfScoreboardApiImpl : SurfScoreboardApi {
2828
}
2929

3030
override fun scoreboardLibrary(): ScoreboardLibrary {
31-
TODO("Not yet implemented")
31+
return scoreboardLibrary
3232
}
3333

3434
override fun createScoreboard(title: Component) = SurfScoreboardBuilderImpl(title)
3535

3636
companion object {
3737
private val log = logger()
38-
38+
3939
val INSTANCE get() = SurfScoreboardApi.INSTANCE as SurfScoreboardApiImpl
4040
}
4141
}

0 commit comments

Comments
 (0)