mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 04:24:05 +09:00
item tooltip descriptions
This commit is contained in:
@@ -124,7 +124,9 @@ object Lang {
|
||||
private val bindOp = ">>="
|
||||
|
||||
fun getOrNull(key: String?, capitalise: Boolean = true) =
|
||||
if (key == null) null else get(key, capitalise)
|
||||
if (key == null) null else get(key, capitalise).let {
|
||||
if (it.startsWith("$")) null else it
|
||||
}
|
||||
|
||||
/**
|
||||
* Syntax example:
|
||||
|
||||
Reference in New Issue
Block a user