diff --git a/gradle.properties b/gradle.properties index 1ff98dd1f..724350491 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,7 +19,7 @@ forge_version=47.2.19 mixingradle_version=0.7.33 mixin_version=0.8.5 -kommons_version=3.0.1 +kommons_version=3.0.2 jei_version=15.2.0.27 jupiter_version=5.9.2 diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/decorative/PainterScreen.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/decorative/PainterScreen.kt index 30c28bab2..cb74a140d 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/decorative/PainterScreen.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/decorative/PainterScreen.kt @@ -51,7 +51,7 @@ class PainterScreen(menu: PainterMenu, inventory: Inventory, title: Component) : override fun innerRender(graphics: MGUIGraphics, mouseX: Float, mouseY: Float, partialTick: Float) { graphics.renderRect(0f, 0f, width, height, color = RGBAColor.DARK_GRAY) - val color = RGBAColor.rgb(dye?.textColor ?: DyeColor.LIGHT_BLUE.textColor) + val color = RGBAColor.bgr(dye?.textColor ?: DyeColor.LIGHT_BLUE.textColor) graphics.renderCheckerboard(0f, 0f, width, height, color = color.copy(alpha = 0.25f))