From a7d5820e99d57f7729d1f31d800a9576261681f9 Mon Sep 17 00:00:00 2001 From: LexManos Date: Sun, 8 May 2016 16:35:01 -0700 Subject: [PATCH] Fixed map extension recipie. --- src/main/java/net/minecraftforge/oredict/OreDictionary.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/minecraftforge/oredict/OreDictionary.java b/src/main/java/net/minecraftforge/oredict/OreDictionary.java index eabaf561ae..0b2bd34214 100644 --- a/src/main/java/net/minecraftforge/oredict/OreDictionary.java +++ b/src/main/java/net/minecraftforge/oredict/OreDictionary.java @@ -327,7 +327,7 @@ public class OreDictionary // 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(); @@ -342,7 +342,7 @@ public class OreDictionary 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();