Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
Require crouching again
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Mar 27, 2020
1 parent f5dcdf8 commit a55d2a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public ActionResultType onBlockActivated(BlockState state, World world, BlockPos

if (held.getItem() instanceof AttachmentItem) {
return addAttachment(player, world, pos, held, dirClicked);
} else if (held.isEmpty()) {
} else if (held.isEmpty() && player.isCrouching()) {
return removeAttachment(world, pos, dirClicked);
}

Expand Down

0 comments on commit a55d2a7

Please sign in to comment.