fix terminal crashing and not cleaning leftovers of larger recipe patterns

This commit is contained in:
PrototypeTrousers
2022-01-11 11:23:40 -03:00
parent 903f211044
commit fd3349614d
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ repositories {
maven {
name = "Tesla repo"
url "http://maven.mcmoddev.com"
url "https://maven.mcmoddev.com"
}
maven {
@@ -175,6 +175,10 @@ public class PacketJEIRecipe extends AppEngPacket
{
ItemStack currentItem = craftMatrix.getStackInSlot( x );
if (x >= this.recipe.size()) {
currentItem = ItemStack.EMPTY;
}
// prepare slots
if( !currentItem.isEmpty() )
{