Fix Tab Complete

Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
2025-11-25 18:37:58 +01:00
parent cfa1b5d0cd
commit c2bca83735
@@ -279,7 +279,7 @@ class SchematicNode(id: EntityID<Int>) : IntEntity(id) {
}
val index = s.lastIndexOf("/")
val cacheKey = if (index == -1) "" else s.take(index)
tabCache[user.getId()]?.get(cacheKey)?.also { return it }
tabCache[user.getId()]?.get(cacheKey)?.also { return it.toMutableList() }
val list = mutableListOf<String>()
if (s.contains("/")) {