Skip to content

Commit

Permalink
Fixed map extension recipie.
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed May 8, 2016
1 parent 363e84b commit a7d5820
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/minecraftforge/oredict/OreDictionary.java
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ private static void initVanillaEntries()
// Search vanilla recipes for recipes to replace
for(Object obj : recipes)
{
if(obj instanceof ShapedRecipes)
if(obj.getClass() == ShapedRecipes.class)
{
ShapedRecipes recipe = (ShapedRecipes)obj;
ItemStack output = recipe.getRecipeOutput();
Expand All @@ -342,7 +342,7 @@ private static void initVanillaEntries()
recipesToAdd.add(new ShapedOreRecipe(recipe, replacements));
}
}
else if(obj instanceof ShapelessRecipes)
else if(obj.getClass() == ShapelessRecipes.class)
{
ShapelessRecipes recipe = (ShapelessRecipes)obj;
ItemStack output = recipe.getRecipeOutput();
Expand Down

0 comments on commit a7d5820

Please sign in to comment.