Fix improper plate ore dictionary entries

This commit is contained in:
ProfessorProspector 2016-12-10 15:00:20 -08:00
parent bd83c55754
commit d510b24599

View file

@ -109,8 +109,8 @@ public class OreDict {
for (String type : ItemPlates.types) { for (String type : ItemPlates.types) {
if (type.equals(ModItems.META_PLACEHOLDER)) if (type.equals(ModItems.META_PLACEHOLDER))
continue; //Aware of placeholders! continue; //Aware of placeholders!
String oreDictName = "plate" + OreDictUtils.toFirstUpper(type); OreDictionary.registerOre(CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, "plate_" + type), ItemPlates.getPlateByName(type));
OreDictionary.registerOre(oreDictName, ItemPlates.getPlateByName(type)); System.out.println(CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, "plate_" + type));
} }
for (String type : ItemDusts.types) { for (String type : ItemDusts.types) {