mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 11:24:56 -04:00
bump kutil
This commit is contained in:
parent
1b4769b58a
commit
8974a31371
@ -59,7 +59,7 @@ repositories {
|
||||
|
||||
buildscript {
|
||||
dependencies {
|
||||
classpath("de.bixilon", "kutil", "1.19.1")
|
||||
classpath("de.bixilon", "kutil", "1.20")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -17,4 +17,4 @@ lwjgl.version=3.3.2-SNAPSHOT
|
||||
ikonli.version=12.3.1
|
||||
netty.version=4.1.87.Final
|
||||
jackson.version=2.14.1
|
||||
kutil.version=1.19.1
|
||||
kutil.version=1.20
|
||||
|
@ -86,7 +86,7 @@ object Minosoft {
|
||||
}
|
||||
MinosoftPropertiesLoader.load()
|
||||
|
||||
val taskWorker = TaskWorker(criticalErrorHandler = { _, exception -> exception.crash() })
|
||||
val taskWorker = TaskWorker(errorHandler = { _, error -> error.crash() })
|
||||
|
||||
taskWorker += WorkerTask(identifier = BootTasks.CLI, priority = ThreadPool.HIGH, executor = CLI::startThread)
|
||||
|
||||
|
@ -150,7 +150,7 @@ class Registries : Parentable<Registries> {
|
||||
item.flattened = isFlattened
|
||||
|
||||
var error: Throwable? = null
|
||||
val worker = TaskWorker(errorHandler = { _, it -> if (error == null) error = it }, criticalErrorHandler = { _, it -> if (error == null) error = it })
|
||||
val worker = TaskWorker(errorHandler = { _, it -> if (error == null) error = it })
|
||||
val stopwatch = Stopwatch()
|
||||
// enums
|
||||
worker += WorkerTask(this::shape) { this.shape.load(pixlyzerData["shapes"]?.toJsonObject()) }
|
||||
|
@ -181,7 +181,7 @@ class PlayConnection(
|
||||
|
||||
state = PlayConnectionStates.LOADING_ASSETS
|
||||
var error: Throwable? = null
|
||||
val taskWorker = TaskWorker(errorHandler = { _, exception -> if (error == null) error = exception }, criticalErrorHandler = { _, exception -> if (error == null) error = exception })
|
||||
val taskWorker = TaskWorker(errorHandler = { _, exception -> if (error == null) error = exception })
|
||||
taskWorker += {
|
||||
events.fire(RegistriesLoadEvent(this, registries, RegistriesLoadEvent.States.PRE))
|
||||
registries.parent = version.load(profiles.resources, latch)
|
||||
|
Loading…
x
Reference in New Issue
Block a user