feat: commit success for PSH

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

View File

@ -16,7 +16,7 @@ object ProjectionShellItem : Item(
val block = context.level.getBlockState(context.clickedPos).block
if (block is ProjectionShellBlock && context.level.isClientSide) {
ProjectionShell.channel.sendToServer(ServerboundPSHLockAcquirePacket(context.clickedPos))
return InteractionResult.CONSUME
return InteractionResult.SUCCESS
}
return InteractionResult.PASS
}