Merge pull request #460 from LepkoQQ/master
Shaped Ore Recipe mirroring issue
This commit is contained in:
commit
6636a2913e
|
@ -167,12 +167,12 @@ public class ShapedOreRecipe implements IRecipe
|
||||||
{
|
{
|
||||||
for (int y = 0; y <= MAX_CRAFT_GRID_HEIGHT - height; ++y)
|
for (int y = 0; y <= MAX_CRAFT_GRID_HEIGHT - height; ++y)
|
||||||
{
|
{
|
||||||
if (checkMatch(inv, x, y, true))
|
if (checkMatch(inv, x, y, false))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mirrored && checkMatch(inv, x, y, false))
|
if (mirrored && checkMatch(inv, x, y, true))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue