Fix JEI transfer fix. Typo correction.

This commit is contained in:
Salomão
2021-02-16 16:47:22 -03:00
parent 7834028459
commit 7c5ff5322a
2 changed files with 4 additions and 3 deletions
@@ -239,6 +239,7 @@ public class PacketJEIRecipe extends AppEngPacket
if( out != null )
{
out.setStackSize( recipe[x][y].getCount() );
currentItem = out.createItemStack();
}
}
@@ -254,10 +255,10 @@ public class PacketJEIRecipe extends AppEngPacket
}
else
{
currentItem = ad.simulateSimilarRemove(1, this.recipe[x][y],FuzzyMode.IGNORE_ALL, null );
currentItem = ad.simulateSimilarRemove(recipe[x][y].getCount(), this.recipe[x][y],FuzzyMode.IGNORE_ALL, null );
if( currentItem.isEmpty() )
{
currentItem = this.recipe[x][y];
currentItem = this.recipe[x][y].copy();
}
}
}