diff --git a/gradle.properties b/gradle.properties index 8fba92583..f82fba3b2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,7 +19,7 @@ forge_version=43.3.7 mixingradle_version=0.7.33 mixin_version=0.8.5 -kommons_version=3.0.1 +kommons_version=3.0.2 jei_version=11.6.0.1018 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 0cd453032..47bc2cd13 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))