mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
AOE tools now behave like normal tools while sneaking.
This commit is contained in:
1 parent
cb7ea6f852
commit
570edc802e
2 files changed
+5
-6
No files matched your search
@@ -85,7 +85,7 @@ public class LumberAxe extends AOEHarvestTool
|
||||
@Override
|
||||
public boolean onBlockStartBreak (ItemStack stack, int x, int y, int z, EntityPlayer player)
|
||||
{
|
||||
if (!stack.hasTagCompound())
|
||||
if (!stack.hasTagCompound() || player.isSneaking())
|
||||
return super.onBlockStartBreak(stack, x, y, z, player);
|
||||
|
||||
World world = player.worldObj;
|
||||
|
||||
Reference in new issue
Block a user