mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix exception in ShapedOreRecipe.checkMatch for recipes that don't fill entire crafting grid (#3995)
This commit is contained in:
1 parent
dbc0a4e0fd
commit
8833386ada
1 file changed
+5
-5
@@ -125,11 +125,11 @@ public class ShapedOreRecipe extends IForgeRegistryEntry.Impl<IRecipe> implement
|
||||
{
|
||||
target = input.get(subX + subY * width);
|
||||
}
|
||||
}
|
||||
|
||||
if (!target.apply(inv.getStackInRowAndColumn(x, y)))
|
||||
{
|
||||
return false;
|
||||
|
||||
if (!target.apply(inv.getStackInRowAndColumn(x, y)))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user