mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 20:44:05 +09:00
centering of labels for crafting ui
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user