feat: commit success for PSH
This commit is contained in:
parent
382ab9b0e2
commit
f31969f4e5
@ -16,7 +16,7 @@ object ProjectionShellItem : Item(
|
|||||||
val block = context.level.getBlockState(context.clickedPos).block
|
val block = context.level.getBlockState(context.clickedPos).block
|
||||||
if (block is ProjectionShellBlock && context.level.isClientSide) {
|
if (block is ProjectionShellBlock && context.level.isClientSide) {
|
||||||
ProjectionShell.channel.sendToServer(ServerboundPSHLockAcquirePacket(context.clickedPos))
|
ProjectionShell.channel.sendToServer(ServerboundPSHLockAcquirePacket(context.clickedPos))
|
||||||
return InteractionResult.CONSUME
|
return InteractionResult.SUCCESS
|
||||||
}
|
}
|
||||||
return InteractionResult.PASS
|
return InteractionResult.PASS
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user