feat: use PASS for projector
This commit is contained in:
parent
e87d6f7d92
commit
382ab9b0e2
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user