mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 05:02:18 +00:00
Fix shapeless recipes not being able to use NBT on output, and fixed issue with null groups.
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user