fix: Pets missing an item rarity

This commit is contained in:
Linnea Gräf
2024-11-17 16:11:21 +01:00
parent 762fb40215
commit ffebb438f8
7 changed files with 144 additions and 65 deletions

View File

@@ -0,0 +1,9 @@
package moe.nea.firmament.util
object StringUtil {
fun String.words(): Sequence<String> {
return splitToSequence(" ") // TODO: better boundaries
}
fun Iterable<String>.unwords() = joinToString(" ")
}