Add quartz_ore tool init, more mojang special casing -.-

This commit is contained in:
Lex Manos 2014-12-07 03:41:53 -08:00
parent 27524a02ae
commit 4cc11b220a
2 changed files with 3 additions and 1 deletions

View File

@ -207,6 +207,7 @@ public class ForgeHooks
Blocks.iron_block.setHarvestLevel("pickaxe", 1);
Blocks.lapis_ore.setHarvestLevel("pickaxe", 1);
Blocks.lapis_block.setHarvestLevel("pickaxe", 1);
Blocks.quartz_ore.setHarvestLevel("pickaxe", 0);
}
public static int getTotalArmorValue(EntityPlayer player)

View File

@ -402,7 +402,8 @@ public class ForgeEventFactory
changed |= ItemStack.areItemStacksEqual(tmp[x], stacks[x]);
stacks[x] = event.getItem(x);
}
onPotionBrewed(stacks);
if (changed)
onPotionBrewed(stacks);
return true;
}
return false;