From 990f67cf55d5c325407e9c47cde26f895c907ef0 Mon Sep 17 00:00:00 2001 From: Jeremiah Winsley Date: Sun, 1 Nov 2020 17:17:31 -0500 Subject: [PATCH] Remove buffer writes from read method (#1705) --- .../recipe/serializer/AlchemyTableRecipeSerializer.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/wayoftime/bloodmagic/common/recipe/serializer/AlchemyTableRecipeSerializer.java b/src/main/java/wayoftime/bloodmagic/common/recipe/serializer/AlchemyTableRecipeSerializer.java index d343d960..f8417948 100644 --- a/src/main/java/wayoftime/bloodmagic/common/recipe/serializer/AlchemyTableRecipeSerializer.java +++ b/src/main/java/wayoftime/bloodmagic/common/recipe/serializer/AlchemyTableRecipeSerializer.java @@ -82,12 +82,6 @@ public class AlchemyTableRecipeSerializer input.add(i, Ingredient.read(buffer)); } - buffer.writeInt(input.size()); - for (int i = 0; i < input.size(); i++) - { - input.get(i).write(buffer); - } - ItemStack output = buffer.readItemStack(); int syphon = buffer.readInt(); int ticks = buffer.readInt();