diff --git a/common/src/main/java/net/satisfy/vinery/core/block/BigBottleStorageBlock.java b/common/src/main/java/net/satisfy/vinery/core/block/BigBottleStorageBlock.java index 8e4ea3cf..62b0c610 100644 --- a/common/src/main/java/net/satisfy/vinery/core/block/BigBottleStorageBlock.java +++ b/common/src/main/java/net/satisfy/vinery/core/block/BigBottleStorageBlock.java @@ -41,7 +41,7 @@ public BigBottleStorageBlock(Properties settings) { @Override public @NotNull InteractionResult use(BlockState state, Level world, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit) { ItemStack stack = player.getItemInHand(hand); - if (player.isShiftKeyDown() && stack.isEmpty()) { + if (player.isCrouching() && stack.isEmpty()) { if (!world.isClientSide()) { world.playSound(null, pos, OPEN_SOUND, SoundSource.BLOCKS, 0.4f, 0.4f); world.setBlock(pos, state.setValue(OPEN, !state.getValue(OPEN)), UPDATE_ALL); diff --git a/common/src/main/java/net/satisfy/vinery/core/block/WineBoxBlock.java b/common/src/main/java/net/satisfy/vinery/core/block/WineBoxBlock.java index 673eda70..3a0fccd8 100644 --- a/common/src/main/java/net/satisfy/vinery/core/block/WineBoxBlock.java +++ b/common/src/main/java/net/satisfy/vinery/core/block/WineBoxBlock.java @@ -93,7 +93,7 @@ public boolean propagatesSkylightDown(BlockState state, BlockGetter world, Block @Override public @NotNull InteractionResult use(BlockState state, Level world, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit) { ItemStack stack = player.getItemInHand(hand); - if (player.isShiftKeyDown() && stack.isEmpty()) { + if (player.isCrouching() && stack.isEmpty()) { if (!world.isClientSide()) { world.setBlock(pos, state.setValue(OPEN, !state.getValue(OPEN)), Block.UPDATE_ALL); }