From f2d3ef2f82115b4065b4239ab1e29ef96967e4fd Mon Sep 17 00:00:00 2001 From: Worive <13164341+Worive@users.noreply.github.com> Date: Sat, 13 Dec 2025 15:07:04 +0100 Subject: [PATCH] Fix Auto Crafter able to craft items with different NBT Make it match NBT --- .../scala/mrtjp/projectred/expansion/TileAutoCrafter.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/mrtjp/projectred/expansion/TileAutoCrafter.scala b/src/main/scala/mrtjp/projectred/expansion/TileAutoCrafter.scala index 7c1421194..cc6fd8fc3 100644 --- a/src/main/scala/mrtjp/projectred/expansion/TileAutoCrafter.scala +++ b/src/main/scala/mrtjp/projectred/expansion/TileAutoCrafter.scala @@ -171,7 +171,7 @@ class TileAutoCrafter def containsEnoughResource(item: ItemKey, amount: Int): Boolean = { val eq = new ItemEquality eq.matchMeta = !item.makeStack(0).isItemStackDamageable - eq.matchNBT = false + eq.matchNBT = true eq.matchOre = currentRecipe.isInstanceOf[ShapedOreRecipe] || currentRecipe .isInstanceOf[ShapelessOreRecipe] @@ -201,7 +201,7 @@ class TileAutoCrafter def eatResource(item: ItemKey, amount: Int) { val eq = new ItemEquality eq.matchMeta = !item.makeStack(0).isItemStackDamageable - eq.matchNBT = false + eq.matchNBT = true eq.matchOre = currentRecipe.isInstanceOf[ShapedOreRecipe] || currentRecipe .isInstanceOf[ShapelessOreRecipe]