mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-18 03:44:54 -04:00
chat node: proper .
skipping
This commit is contained in:
parent
7e4814cd9d
commit
e4eaf2af8e
@ -43,8 +43,8 @@ class ChatNode(
|
|||||||
private fun getNode(reader: CommandReader, stack: CommandStack): RootNode? {
|
private fun getNode(reader: CommandReader, stack: CommandStack): RootNode? {
|
||||||
val peek = reader.unsafePeek()
|
val peek = reader.unsafePeek()
|
||||||
if (peek == '.'.code) {
|
if (peek == '.'.code) {
|
||||||
reader.read()
|
|
||||||
if (allowCLI) {
|
if (allowCLI) {
|
||||||
|
reader.read()
|
||||||
return CLI.ROOT_NODE
|
return CLI.ROOT_NODE
|
||||||
}
|
}
|
||||||
return null
|
return null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user