I have this code
```
package me.thebeastgamer25.titaniumCraft.items;
import me.thebeastgamer25.titaniumCraft.Refrence;
import net.minecraft.item.Item.ToolMaterial;
import net.minecraft.item.ItemAxe;
import net.minecraft.util.ResourceLocation;
public class ItemTitaniumAxe extends ItemAxe {
public ItemTitaniumAxe(ToolMaterial material, String unlocalizedName) {
super(material);
this.setUnlocalizedName(unlocalizedName);
this.setRegistryName(new ResourceLocation(Refrence.MODID, unlocalizedName));
}
}
```
And I get this error:
java.lang.ArrayIndexOutOfBoundsException: 5