From f409729385c34592d5cbb827ad17ccfaf1a419ca Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Fri, 31 May 2024 16:42:05 +0700 Subject: [PATCH 1/2] Update rgb -> bgr in Painter screen --- .../mc/otm/client/screen/decorative/PainterScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5651c2859..dbec4100b 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 @@ -50,7 +50,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)) From dc870f7c5f1bfb34f5074710022a3525cd7f056d Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Fri, 31 May 2024 16:43:48 +0700 Subject: [PATCH 2/2] Bump kommons --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 4b0741086..03d6c4312 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,7 +19,7 @@ forge_version=48.1.0 mixingradle_version=0.7.33 mixin_version=0.8.5 -kommons_version=3.0.1 +kommons_version=3.0.2 jei_version=16.0.0.28 jupiter_version=5.9.2