mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-08 00:39:10 +00:00
Fix kotlin code style issues
This commit is contained in:
@@ -8,11 +8,10 @@ private val changeAltarObjectConfigId = 491
|
||||
|
||||
internal val RUNES = mutableListOf<Rune>()
|
||||
|
||||
fun List<Rune>.findById(id: Int) : Rune? {
|
||||
fun List<Rune>.findById(id: Int): Rune? {
|
||||
return find { rune -> rune.id == id }
|
||||
}
|
||||
|
||||
|
||||
start {
|
||||
RUNES.addAll(DefaultRune.values())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user