mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 23:13:07 +00:00
Changed sneaking on AOE tools to break blocks in AOE again. Was only supposed to not chop a whole tree with the lumber axe.
This commit is contained in:
1 parent
62c2956012
commit
6a8c6f0f32
1 file changed
-4
@@ -26,10 +26,6 @@ public abstract class AOEHarvestTool extends HarvestTool {
|
||||
|
||||
@Override
|
||||
public boolean onBlockStartBreak(ItemStack stack, int x, int y, int z, EntityPlayer player) {
|
||||
// sneaking == regular blockbreak
|
||||
if(player.isSneaking())
|
||||
return super.onBlockStartBreak(stack, x,y,z, player);
|
||||
|
||||
// only effective materials matter. We don't want to aoe when beraking dirt with a hammer.
|
||||
Block block = player.worldObj.getBlock(x,y,z);
|
||||
int meta = player.worldObj.getBlockMetadata(x,y,z);
|
||||
|
||||
Reference in new issue
Block a user