mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-14 09:46:53 -04:00
totally the wrong way to use Some
Some(null) is still Some, which is not None. whoops closes #3033
This commit is contained in:
parent
18461f37f8
commit
ef4f7417b3
@ -293,7 +293,7 @@ object TerminalServer {
|
|||||||
|
|
||||||
def find(address: String): Option[TerminalServer] = {
|
def find(address: String): Option[TerminalServer] = {
|
||||||
completePending()
|
completePending()
|
||||||
Some(ready.getOrDefault(address, null))
|
ready.get(address)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user