Skip to content

Commit

Permalink
Fix AOE-Tools not calling tinkers own callbacks for AOE broken blocks…
Browse files Browse the repository at this point in the history
… (e.g. autosmelt) #1099
  • Loading branch information
bonii-xx committed Oct 19, 2014
1 parent dec1cb4 commit 14078c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/tconstruct/library/tools/AOEHarvestTool.java
Expand Up @@ -66,7 +66,9 @@ public boolean onBlockStartBreak(ItemStack stack, int x, int y, int z, EntityPla
// don't break the originally already broken block, duh
if (xPos == x && yPos == y && zPos == z)
continue;
breakExtraBlock(player.worldObj, xPos, yPos, zPos, sideHit, player, x,y,z);

if(!super.onBlockStartBreak(stack, xPos, yPos, zPos, player))
breakExtraBlock(player.worldObj, xPos, yPos, zPos, sideHit, player, x,y,z);
}


Expand Down

0 comments on commit 14078c4

Please sign in to comment.