From: Lanius Trolling Date: Sat, 10 Feb 2024 14:29:31 +0000 (-0500) Subject: Set fairness to true X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=cffe0f5cb1bfe0bbe05ca74f99eea2eb38e08c6f;p=factbooks Set fairness to true --- diff --git a/src/jvmMain/kotlin/info/mechyrdia/lore/fonts.kt b/src/jvmMain/kotlin/info/mechyrdia/lore/fonts.kt index e4d8fda..6e27efa 100644 --- a/src/jvmMain/kotlin/info/mechyrdia/lore/fonts.kt +++ b/src/jvmMain/kotlin/info/mechyrdia/lore/fonts.kt @@ -43,7 +43,7 @@ object MechyrdiaSansFont { .deriveFont(DEFAULT_FONT_SIZE) } - private val getValueLock = ReentrantLock() + private val getValueLock = ReentrantLock(true) override fun getValue(thisRef: Any?, property: KProperty<*>): Font { return getValueLock.withLock {