Remove buffer writes from read method (#1705)
This commit is contained in:
parent
c41021aba1
commit
990f67cf55
|
@ -82,12 +82,6 @@ public class AlchemyTableRecipeSerializer<RECIPE extends RecipeAlchemyTable>
|
||||||
input.add(i, Ingredient.read(buffer));
|
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();
|
ItemStack output = buffer.readItemStack();
|
||||||
int syphon = buffer.readInt();
|
int syphon = buffer.readInt();
|
||||||
int ticks = buffer.readInt();
|
int ticks = buffer.readInt();
|
||||||
|
|
Loading…
Reference in a new issue