mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-13 17:37:58 -04:00
fix typo in MicrosoftLoginController
This commit is contained in:
parent
4a4e645cc0
commit
4044f3924f
@ -44,10 +44,10 @@ public class MicrosoftLoginController implements Initializable {
|
||||
}
|
||||
}
|
||||
});
|
||||
requestOathFlowToken();
|
||||
requestOauthFlowToken();
|
||||
}
|
||||
|
||||
private void requestOathFlowToken() {
|
||||
private void requestOauthFlowToken() {
|
||||
this.webView.getEngine().load(ProtocolDefinition.MICROSOFT_ACCOUNT_OAUTH_FLOW_URL);
|
||||
}
|
||||
|
||||
|
@ -85,7 +85,7 @@ class HUDWorldDebugNode(hudRenderer: HUDRenderer) : DebugScreenNode(hudRenderer)
|
||||
}
|
||||
}"
|
||||
|
||||
lightText.sText = "Client light: ${hudRenderer.connection.world.worldLightAccessor.getLightLevel(camera.blockPosition)} (sky=${hudRenderer.connection.world.worldLightAccessor.getSkyLight(camera.blockPosition)}, block=${hudRenderer.connection.world.worldLightAccessor.getBlockLight(camera.blockPosition)})"
|
||||
lightText.sText = "Client light: sky=${hudRenderer.connection.world.worldLightAccessor.getSkyLight(camera.blockPosition)}, block=${hudRenderer.connection.world.worldLightAccessor.getBlockLight(camera.blockPosition)}"
|
||||
|
||||
|
||||
lastPrepareTime = System.currentTimeMillis()
|
||||
@ -141,5 +141,4 @@ class HUDWorldDebugNode(hudRenderer: HUDRenderer) : DebugScreenNode(hudRenderer)
|
||||
return "%.1f".format(rotation)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ package de.bixilon.minosoft.modding.event
|
||||
import de.bixilon.minosoft.modding.event.events.Event
|
||||
import de.bixilon.minosoft.modding.loading.Priorities
|
||||
|
||||
class CallbackEventInvoker<E : Event?> private constructor(
|
||||
class CallbackEventInvoker<E : Event> private constructor(
|
||||
ignoreCancelled: Boolean,
|
||||
private val callback: (E) -> Unit,
|
||||
override val eventType: Class<out Event>,
|
||||
@ -32,7 +32,7 @@ class CallbackEventInvoker<E : Event?> private constructor(
|
||||
return CallbackEventInvoker(
|
||||
ignoreCancelled = ignoreCancelled,
|
||||
callback = callback,
|
||||
eventType = E::class.java
|
||||
eventType = E::class.java,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user