From 4ee0c46c417b73455c4f1528b8ac9d61893bc569 Mon Sep 17 00:00:00 2001 From: woahscam Date: Mon, 1 Nov 2021 13:02:43 -0400 Subject: [PATCH] haha color go workie pt 2 cause I was dumb and left in a test check --- src/main/kotlin/Rs2MapEditor.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/kotlin/Rs2MapEditor.kt b/src/main/kotlin/Rs2MapEditor.kt index 9e0a156..40231e8 100644 --- a/src/main/kotlin/Rs2MapEditor.kt +++ b/src/main/kotlin/Rs2MapEditor.kt @@ -154,9 +154,7 @@ object Rs2MapEditor { val fluDef = underlayMap[underlayID] val floDef = overlayMap[overlayID] - if (underlayID == 0) { - mapCell.background = Color(overlayMap[overlayID + 1]!!.color) - } else if (overlayID == 0) { + if (overlayID == 0) { mapCell.background = fluDef!!.getRGB() } else if (floDef!!.blendColor != -1) { mapCell.background = Color(floDef.blendColor)