Fixed map extension recipie.
This commit is contained in:
parent
363e84b2c5
commit
a7d5820e99
1 changed files with 2 additions and 2 deletions
|
@ -327,7 +327,7 @@ public class OreDictionary
|
||||||
// Search vanilla recipes for recipes to replace
|
// Search vanilla recipes for recipes to replace
|
||||||
for(Object obj : recipes)
|
for(Object obj : recipes)
|
||||||
{
|
{
|
||||||
if(obj instanceof ShapedRecipes)
|
if(obj.getClass() == ShapedRecipes.class)
|
||||||
{
|
{
|
||||||
ShapedRecipes recipe = (ShapedRecipes)obj;
|
ShapedRecipes recipe = (ShapedRecipes)obj;
|
||||||
ItemStack output = recipe.getRecipeOutput();
|
ItemStack output = recipe.getRecipeOutput();
|
||||||
|
@ -342,7 +342,7 @@ public class OreDictionary
|
||||||
recipesToAdd.add(new ShapedOreRecipe(recipe, replacements));
|
recipesToAdd.add(new ShapedOreRecipe(recipe, replacements));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(obj instanceof ShapelessRecipes)
|
else if(obj.getClass() == ShapelessRecipes.class)
|
||||||
{
|
{
|
||||||
ShapelessRecipes recipe = (ShapelessRecipes)obj;
|
ShapelessRecipes recipe = (ShapelessRecipes)obj;
|
||||||
ItemStack output = recipe.getRecipeOutput();
|
ItemStack output = recipe.getRecipeOutput();
|
||||||
|
|
Loading…
Reference in a new issue