Skip to content

Commit

Permalink
Fix leftclicking/attacking being processed twice
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Oct 2, 2014
1 parent d7b560c commit 0e4691e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/tconstruct/library/tools/ToolCore.java
Expand Up @@ -613,8 +613,7 @@ public float getDigSpeed (ItemStack stack, Block block, int meta)
@Override
public boolean onLeftClickEntity (ItemStack stack, EntityPlayer player, Entity entity)
{
AbilityHelper.onLeftClickEntity(stack, player, entity, this, 0);
return false;
return AbilityHelper.onLeftClickEntity(stack, player, entity, this, 0);
}

@Override
Expand Down

0 comments on commit 0e4691e

Please sign in to comment.