feat: use PASS for projector

This commit is contained in:
xtex 2023-07-28 19:40:48 +08:00
parent e87d6f7d92
commit 382ab9b0e2
Signed by: xtex
GPG Key ID: B918086ED8045B91

View File

@ -42,7 +42,7 @@ object ProjectorBlock : Block(Properties.of()
blockHitResult: BlockHitResult blockHitResult: BlockHitResult
): InteractionResult { ): InteractionResult {
checkUpdate(level, blockPos) checkUpdate(level, blockPos)
return InteractionResult.SUCCESS return InteractionResult.PASS
} }
override fun newBlockEntity(pos: BlockPos, state: BlockState) = ProjectorBlockEntity(pos, state) override fun newBlockEntity(pos: BlockPos, state: BlockState) = ProjectorBlockEntity(pos, state)