Merge pull request #532 from Adaptivity/fixaxes

Fix axes Closes #514
This commit is contained in:
Adubbz 2015-09-10 16:49:25 +10:00
commit 061d56ef6d

View file

@ -1,7 +1,6 @@
package biomesoplenty.common.items; package biomesoplenty.common.items;
import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.item.Item;
import net.minecraft.item.ItemAxe; import net.minecraft.item.ItemAxe;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import biomesoplenty.BiomesOPlenty; import biomesoplenty.BiomesOPlenty;
@ -11,14 +10,13 @@ public class ItemBOPAxe extends ItemAxe
{ {
public int textureID = 0; public int textureID = 0;
public ItemBOPAxe(Item.ToolMaterial toolMaterial, int texture) public ItemBOPAxe(ToolMaterial toolMaterial, int texture)
{ {
super(toolMaterial); super(toolMaterial);
this.textureID = texture; this.textureID = texture;
this.setHarvestLevel("axe", 4); this.setHarvestLevel("axe", 4);
this.setHasSubtypes(true);
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty); this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
} }