mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Add quartz_ore tool init, more mojang special casing -.-
This commit is contained in:
1 parent
27524a02ae
commit
4cc11b220a
2 files changed
+3
-1
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user