File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
common/src/main/kotlin/com/lambda/module/modules/render Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments