Skip to content

Commit

Permalink
configurable old signs color
Browse files Browse the repository at this point in the history
  • Loading branch information
rfresh2 committed Feb 21, 2023
1 parent e3d4c77 commit e396bc2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ object Search : Module(
private val illegalBedrock = setting("Illegal Bedrock", false)
private val illegalNetherWater = setting("Illegal Nether Water", false)
private val oldSigns = setting("Old Signs", false)
private val oldSignsColor by setting("Old Signs Color", ColorHolder(220, 0, 0, 110), visibility = { oldSigns.value })
private val range by setting("Search Range", 512, 0..4096, 8)
private val yRangeBottom by setting("Top Y", 256, 0..256, 1)
private val yRangeTop by setting("Bottom Y", 0, 0..256, 1)
Expand Down Expand Up @@ -354,10 +355,10 @@ object Search : Module(
ColorHolder(64, 49, 114)
}
is BlockOldStandingSign -> {
ColorHolder(0, 0, 220, 100)
oldSignsColor
}
is BlockOldWallSign -> {
ColorHolder(0, 0, 220, 100)
oldSignsColor
}
else -> {
val colorInt = blockState.getMapColor(world, pos).colorValue
Expand Down

0 comments on commit e396bc2

Please sign in to comment.