Fixed up a few bugs in the tool path.

This commit is contained in:
Eloraam 2011-09-21 07:14:53 +00:00
parent 0392ecd8da
commit afdbc4064b
1 changed files with 3 additions and 4 deletions

View File

@ -60,7 +60,7 @@ public class ForgeHooks {
bl.blockID,md,cls));
if(bhl==null) return itemstack.canHarvestBlock(bl);
if(bhl>hvl) return false;
return itemstack.canHarvestBlock(bl);
return true;
}
public static float blockStrength(Block bl,
@ -125,9 +125,8 @@ public class ForgeHooks {
Block[] pickeff ={
Block.cobblestone, Block.stairDouble,
Block.stairSingle, Block.stone, Block.sandStone,
Block.cobblestoneMossy, Block.oreIron,
Block.blockSteel, Block.oreCoal, Block.blockGold,
Block.oreGold, Block.oreDiamond, Block.blockDiamond,
Block.cobblestoneMossy,
Block.oreCoal,
Block.ice, Block.netherrack, Block.oreLapis,
Block.blockLapis
};