Fix status resetting every time through the repl.
This commit is contained in:
parent
fb098c6603
commit
f96a069df0
@ -285,7 +285,10 @@ Configuration:
|
|||||||
|
|
||||||
while(this.running) {
|
while(this.running) {
|
||||||
|
|
||||||
if (new Date() > dismissMsgDate) resetStatus()
|
if (new Date() > dismissMsgDate) {
|
||||||
|
resetStatus()
|
||||||
|
dismissDate = new Date(Long.MAX_VALUE) }
|
||||||
|
|
||||||
if (consoleReadBuffer.size() > 0) {
|
if (consoleReadBuffer.size() > 0) {
|
||||||
line = consoleReadBuffer.remove(0)
|
line = consoleReadBuffer.remove(0)
|
||||||
try { processInput(line) }
|
try { processInput(line) }
|
||||||
|
Loading…
Reference in New Issue
Block a user