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)