Fix exception in ShapedOreRecipe.checkMatch for recipes that don't fill entire crafting grid (#3995)
This commit is contained in:
parent
dbc0a4e0fd
commit
8833386ada
|
@ -125,7 +125,6 @@ public class ShapedOreRecipe extends IForgeRegistryEntry.Impl<IRecipe> implement
|
|||
{
|
||||
target = input.get(subX + subY * width);
|
||||
}
|
||||
}
|
||||
|
||||
if (!target.apply(inv.getStackInRowAndColumn(x, y)))
|
||||
{
|
||||
|
@ -133,6 +132,7 @@ public class ShapedOreRecipe extends IForgeRegistryEntry.Impl<IRecipe> implement
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue