Skip to content

Commit e396bc2

Browse files
committed
configurable old signs color
1 parent e3d4c77 commit e396bc2

File tree

1 file changed

+3
-2
lines changed
  • src/main/kotlin/com/lambda/client/module/modules/render

1 file changed

+3
-2
lines changed

src/main/kotlin/com/lambda/client/module/modules/render/Search.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ object Search : Module(
5757
private val illegalBedrock = setting("Illegal Bedrock", false)
5858
private val illegalNetherWater = setting("Illegal Nether Water", false)
5959
private val oldSigns = setting("Old Signs", false)
60+
private val oldSignsColor by setting("Old Signs Color", ColorHolder(220, 0, 0, 110), visibility = { oldSigns.value })
6061
private val range by setting("Search Range", 512, 0..4096, 8)
6162
private val yRangeBottom by setting("Top Y", 256, 0..256, 1)
6263
private val yRangeTop by setting("Bottom Y", 0, 0..256, 1)
@@ -354,10 +355,10 @@ object Search : Module(
354355
ColorHolder(64, 49, 114)
355356
}
356357
is BlockOldStandingSign -> {
357-
ColorHolder(0, 0, 220, 100)
358+
oldSignsColor
358359
}
359360
is BlockOldWallSign -> {
360-
ColorHolder(0, 0, 220, 100)
361+
oldSignsColor
361362
}
362363
else -> {
363364
val colorInt = blockState.getMapColor(world, pos).colorValue

0 commit comments

Comments
 (0)