Remove buffer writes from read method (#1705)

This commit is contained in:
Jeremiah Winsley 2020-11-01 17:17:31 -05:00 committed by GitHub
parent c41021aba1
commit 990f67cf55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,12 +82,6 @@ public class AlchemyTableRecipeSerializer<RECIPE extends RecipeAlchemyTable>
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();