centering of labels for crafting ui

This commit is contained in:
minjaesong
2022-07-13 17:40:07 +09:00
parent d86fd5d5fe
commit 2a7e2b7ce4
5 changed files with 93 additions and 23 deletions

View File

@@ -720,6 +720,8 @@ fun <T> Array<T>.init() = this.sliceArray(0 until this.lastIndex)
fun <T> List<T>.tail() = this.subList(1, this.size)
fun <T> List<T>.init() = this.subList(0, this.lastIndex)
fun <T> Collection<T>.notEmptyOrNull() = this.ifEmpty { null }
val BlockCodex: BlockCodex
get() = Terrarum.blockCodex
val ItemCodex: ItemCodex