Skip to content

Commit

Permalink
Fix torches in offhand with tools - resolves #242
Browse files Browse the repository at this point in the history
  • Loading branch information
Direwolf20-MC committed Oct 21, 2024
1 parent b72e69d commit 1f4162f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public BasePickaxe(Tier pTier, Item.Properties pProperties) {

@Override
public InteractionResult useOn(UseOnContext pContext) {
if (bindDrops(pContext))
if (pContext.getPlayer().isShiftKeyDown() && bindDrops(pContext))
return InteractionResult.SUCCESS;
useOnAbility(pContext);
return super.useOn(pContext);
Expand Down

0 comments on commit 1f4162f

Please sign in to comment.