Fix shapeless recipes not being able to use NBT on output, and fixed issue with null groups.

This commit is contained in:
Vincent Lee authored and LexManos committed 2017-06-19 16:49:21 -07:00
1 parent 303578b2f2
commit f7831fbe99
3 files changed
+4 -3

No files matched your search

@@ -503,7 +503,7 @@ public class CraftingHelper {
if (ings.size() > 9)
throw new JsonParseException("Too many ingredients for shapeless recipe");
ItemStack itemstack = ShapedRecipes.deserializeItem(JsonUtils.getJsonObject(json, "result"), true);
ItemStack itemstack = CraftingHelper.getItemStack(JsonUtils.getJsonObject(json, "result"), context);
return new ShapelessRecipes(group, itemstack, ings);
});
registerR("forge:ore_shaped", ShapedOreRecipe::factory);