item tooltip descriptions

This commit is contained in:
minjaesong
2024-02-03 17:10:35 +09:00
parent 72d1f849dd
commit 9f8f9ceaa5
7 changed files with 112 additions and 18 deletions

View File

@@ -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: