Broad tool fixes, Drawbridge and Igniter

This commit is contained in:
mDiyo committed 2013-06-29 09:38:36 -07:00
1 parent aab20a98fc
commit c32b755bf5
101 files changed
+2521 -792

No files matched your search

@@ -578,7 +578,11 @@ public abstract class ToolCore extends Item implements ICustomElectricItem, IBox
@Override
public boolean onBlockDestroyed (ItemStack itemstack, World world, int blockID, int x, int y, int z, EntityLiving player)
{
return AbilityHelper.onBlockChanged(itemstack, world, blockID, x, y, z, player, random);
if ((double)Block.blocksList[blockID].getBlockHardness(world, x, y, z) != 0.0D)
{
return AbilityHelper.onBlockChanged(itemstack, world, blockID, x, y, z, player, random);
}
return true;
}
@Override