Fix MissingMicroMaterial microblock crafted instead of Minecraft:stone (#61)

This commit is contained in:
Ressed authored and GitHub committed 2026-10-03 20:14:54 -05:00
1 parent 7808254465
commit 9eb69cdc13
1 file changed
+1 -1
@@ -199,7 +199,7 @@ object MicroRecipe extends IRecipe {
def findMaterial(item: ItemStack): Int =
MicroMaterialRegistry.getIdMap.find { m =>
val mitem = m._2.getItem
item.getItem == mitem.getItem &&
m._2 != MissingMicroMaterial && item.getItem == mitem.getItem &&
item.getItemDamage == mitem.getItemDamage &&
ItemStack.areItemStackTagsEqual(item, mitem)
} match {