--- ../src-base/minecraft/net/minecraft/item/crafting/ShapedRecipes.java
+++ ../src-work/minecraft/net/minecraft/item/crafting/ShapedRecipes.java
@@ -34,11 +34,7 @@
         for (int i = 0; i < aitemstack.length; ++i)
         {
             ItemStack itemstack = p_179532_1_.func_70301_a(i);
-
-            if (itemstack != null && itemstack.func_77973_b().func_77634_r())
-            {
-                aitemstack[i] = new ItemStack(itemstack.func_77973_b().func_77668_q());
-            }
+            aitemstack[i] = net.minecraftforge.common.ForgeHooks.getContainerItem(itemstack);
         }
 
         return aitemstack;
