Skip to content

Commit f5f9723

Browse files
committed
isReplaceable over isSolidBlock
1 parent 9218421 commit f5f9723

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/com/lambda/module/modules/player

1 file changed

+1
-1
lines changed

src/main/kotlin/com/lambda/module/modules/player/Scaffold.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ object Scaffold : Module(
9191
}
9292

9393
private fun SafeContext.getPlacements(beneath: BlockPos): List<BlockPos>? {
94-
if (blockState(beneath).isSolidBlock(world, beneath)) return null
94+
if (!blockState(beneath).isReplaceable) return null
9595

9696
return BlockPos
9797
.iterateOutwards(beneath, bridgeRange, bridgeRange, bridgeRange)

0 commit comments

Comments
 (0)