mirror of
https://github.com/Bixilon/Minosoft.git
synced 2026-12-03 23:08:18 +00:00
fix tests, fix error when failing to ping server
This commit is contained in:
2 files changed
+1
-2
No files matched your search
@@ -150,7 +150,6 @@ object RenderLoader {
|
||||
}
|
||||
|
||||
val time = measureNanoTime {
|
||||
latch.dec()
|
||||
latch.await()
|
||||
state = RenderingStates.RUNNING
|
||||
window.visible = true
|
||||
|
||||
+1
-1
@@ -75,7 +75,7 @@ class StatusConnection(
|
||||
|
||||
val addresses = this.addresses!!
|
||||
val nextIndex = ++addressIndex
|
||||
if (addresses.size >= nextIndex) {
|
||||
if (addresses.size > nextIndex) {
|
||||
val nextAddress = addresses[nextIndex]
|
||||
Log.log(LogMessageType.NETWORK_RESOLVING) { "Could not connect to $address, trying next hostname: $nextAddress" }
|
||||
realAddress = nextAddress
|
||||
|
||||
Reference in new issue
Block a user