Skip to content

Commit

Permalink
Fix inconsistency in fluid container transfer packet
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMiner committed Jun 13, 2022
1 parent 9a52c23 commit 6cb98c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public FluidContainerTransferPacket(FriendlyByteBuf buffer) {

@Override
public void encode(FriendlyByteBuf buffer) {
buffer.writeInt(items.size());
buffer.writeVarInt(items.size());
for (Item item : items) {
buffer.writeRegistryIdUnsafe(ForgeRegistries.ITEMS, item);
}
Expand Down

0 comments on commit 6cb98c6

Please sign in to comment.