From 7c5ff5322a262de604a7b93f5654aaea21a7f7fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Salom=C3=A3o?= Date: Tue, 16 Feb 2021 16:47:22 -0300 Subject: [PATCH] Fix JEI transfer fix. Typo correction. --- src/main/java/appeng/core/sync/packets/PacketJEIRecipe.java | 5 +++-- .../resources/assets/appliedenergistics2/lang/en_us.lang | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/appeng/core/sync/packets/PacketJEIRecipe.java b/src/main/java/appeng/core/sync/packets/PacketJEIRecipe.java index caccabae8..a6e10609a 100644 --- a/src/main/java/appeng/core/sync/packets/PacketJEIRecipe.java +++ b/src/main/java/appeng/core/sync/packets/PacketJEIRecipe.java @@ -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(); } } } diff --git a/src/main/resources/assets/appliedenergistics2/lang/en_us.lang b/src/main/resources/assets/appliedenergistics2/lang/en_us.lang index 9f3c87d22..7419d2ee3 100644 --- a/src/main/resources/assets/appliedenergistics2/lang/en_us.lang +++ b/src/main/resources/assets/appliedenergistics2/lang/en_us.lang @@ -351,7 +351,7 @@ gui.tooltips.appliedenergistics2.ItemsRequestable=Items Requestable: %s gui.tooltips.appliedenergistics2.P2PFrequency=Frequency: %s gui.tooltips.appliedenergistics2.MultiplyByTwo=Double the items set gui.tooltips.appliedenergistics2.MultiplyByTwoDesc=Will try to double the items set in the crafting slots -gui.tooltips.appliedenergistics2.MultiplyByThree=Tripe the items set +gui.tooltips.appliedenergistics2.MultiplyByThree=Triple the items set gui.tooltips.appliedenergistics2.MultiplyByThreeDesc=Will try to triple the items set in the crafting slots gui.tooltips.appliedenergistics2.IncreaseByOne=Add one gui.tooltips.appliedenergistics2.IncreaseByOneDesc=Will try to add increase the items set in the crafting slots by one. DOES NOT MAINTAIN INGREDIENT RATIO