Skip to content

Commit 15d1c3f

Browse files
fix: #90 use shift check instead of crouching check
1 parent f225e6d commit 15d1c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/pro/mikey/justhammers/HammerItem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public void causeAoe(Level level, BlockPos pos, BlockState state, ItemStack hamm
138138
return;
139139
}
140140

141-
if (livingEntity.isCrouching()) {
141+
if (livingEntity.isShiftKeyDown()) {
142142
return;
143143
}
144144

0 commit comments

Comments
 (0)