renamed itemOre -> itemBlockOre
This was to help sort out the fact its an itemBlock and not just an item
This commit is contained in:
parent
a6a94aa753
commit
19b6c5ee8a
2 changed files with 4 additions and 4 deletions
|
@ -36,7 +36,7 @@ import dark.core.helpers.FluidRestrictionHandler;
|
|||
import dark.core.items.EnumMeterials;
|
||||
import dark.core.items.ItemBattery;
|
||||
import dark.core.items.ItemBlockHolder;
|
||||
import dark.core.items.ItemOre;
|
||||
import dark.core.items.ItemBlockOre;
|
||||
import dark.core.items.ItemOreDirv;
|
||||
import dark.core.items.ItemParts;
|
||||
import dark.core.items.ItemParts.Parts;
|
||||
|
@ -110,7 +110,7 @@ public class DarkMain extends ModPrefab
|
|||
|
||||
if (CoreRecipeLoader.blockOre != null)
|
||||
{
|
||||
GameRegistry.registerBlock(CoreRecipeLoader.blockOre, ItemOre.class, "DMOre");
|
||||
GameRegistry.registerBlock(CoreRecipeLoader.blockOre, ItemBlockOre.class, "DMOre");
|
||||
BlockOre.regiserOreNames();
|
||||
|
||||
for (int i = 0; i < EnumMeterials.values().length; i++)
|
||||
|
|
|
@ -4,10 +4,10 @@ import net.minecraft.item.ItemBlock;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import dark.core.DarkMain;
|
||||
|
||||
public class ItemOre extends ItemBlock
|
||||
public class ItemBlockOre extends ItemBlock
|
||||
{
|
||||
|
||||
public ItemOre(int par1)
|
||||
public ItemBlockOre(int par1)
|
||||
{
|
||||
super(par1);
|
||||
this.setMaxDamage(0);
|
Loading…
Reference in a new issue