Skip to content

Commit 0e79407

Browse files
committed
removed old temp fix
1 parent b7f9ded commit 0e79407

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

common/src/main/kotlin/com/lambda/module/modules/render/XRay.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ object XRay : Module(
2323
Blocks.ANCIENT_DEBRIS
2424
)
2525

26-
//private val selection by setting("Block Selection", defaultBlocks, "Block selection that will be shown (whitelist) or hidden (blacklist)")
26+
private val selection by setting("Block Selection", defaultBlocks, "Block selection that will be shown (whitelist) or hidden (blacklist)")
2727
private val mode by setting("Selection Mode", Selection.WHITELIST, "The mode of the block selection")
2828

2929
@JvmStatic
3030
fun isSelected(blockState: BlockState) = mode.select(blockState)
3131

3232
enum class Selection(val select: (BlockState) -> Boolean) {
33-
WHITELIST({ it.block in com.lambda.module.modules.render.XRay.defaultBlocks }),
34-
BLACKLIST({ it.block !in com.lambda.module.modules.render.XRay.defaultBlocks })
33+
WHITELIST({ it.block in selection }),
34+
BLACKLIST({ it.block !in selection })
3535
}
3636

3737
init {

0 commit comments

Comments
 (0)