parent
4ed305c9bb
commit
1dbb03cf75
5 changed files with 17 additions and 3 deletions
|
@ -36,7 +36,7 @@ public class BlockOre2 extends BaseBlock implements ITexturedBlock {
|
|||
public static ItemStack getOreByName(String name, int count) {
|
||||
for (int i = 0; i < types.length; i++) {
|
||||
if (types[i].equals(name)) {
|
||||
return new ItemStack(ModBlocks.ore, count, i);
|
||||
return new ItemStack(ModBlocks.ore2, count, i);
|
||||
}
|
||||
}
|
||||
throw new InvalidParameterException("The storage block " + name + " could not be found.");
|
||||
|
|
|
@ -32,7 +32,7 @@ public class BlockStorage2 extends BaseBlock implements ITexturedBlock {
|
|||
|
||||
public static final String[] types = new String[]
|
||||
{"tungstensteel", "lodestone", "tellurium", "iridium_reinforced_tungstensteel",
|
||||
"iridium_reinforced_stone", "ruby", "sapphire", "peridot", "yellowGarnet", "redGarnet"};
|
||||
"iridium_reinforced_stone", "ruby", "sapphire", "peridot", "yellowGarnet", "redGarnet", "copper", "tin"};
|
||||
|
||||
public BlockStorage2(Material material) {
|
||||
super(material);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue