Skip to content

Commit

Permalink
use shears for leaves if no hoe is available
Browse files Browse the repository at this point in the history
closes #30
  • Loading branch information
MelanX committed Mar 31, 2024
1 parent e02ae8b commit 72836bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/melanx/toolswap/ClientToolSwap.java
Expand Up @@ -262,7 +262,7 @@ public static void searchForSwitching(MultiPlayerGameMode multiPlayerGameMode, B
return;
}

if (state.is(BlockTags.WOOL)) {
if (state.is(BlockTags.WOOL) || state.is(BlockTags.LEAVES)) {
if (shears.isEmpty()) {
return;
}
Expand Down

0 comments on commit 72836bc

Please sign in to comment.