Skip to content

Commit 1503ebc

Browse files
committed
fix: sneak-click should bypass harvest behaviour
1 parent 9923a7b commit 1503ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/dev/ftb/mods/ftbezcrystals/FTBEZCrystals.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public FTBEZCrystals() {
3737
}
3838

3939
private void clusterInteract(PlayerInteractEvent.RightClickBlock event) {
40-
if (event.getHand() == InteractionHand.OFF_HAND)
40+
if (event.getHand() == InteractionHand.OFF_HAND || event.getEntity().isCrouching())
4141
return;
4242

4343
if (harvestCrystal(event.getLevel(), event.getPos(), event.getItemStack(), event.getEntity())) {

0 commit comments

Comments
 (0)