Complete TODO in ShapedRecipe patch causing logspam related to minecraft:air

This commit is contained in:
Curle committed 2021-12-02 00:43:25 +00:00
1 parent abe4afe152
commit b2036e9d23
1 file changed
+1 -1
@@ -78,7 +78,7 @@
- return new ItemStack(item, i);
- }
- }
+ return net.minecraftforge.common.crafting.CraftingHelper.getItemStack(p_151275_, true, false); // TODO: Swap false to true in 1.18 to mimic vanilla behavior
+ return net.minecraftforge.common.crafting.CraftingHelper.getItemStack(p_151275_, true, true);
}
public static Item m_151278_(JsonObject p_151279_) {