Fix inconsistent use of var ints in fluid packets

This commit is contained in:
Chicken-Bomes committed 2014-06-15 00:23:40 +10:00
1 parent 307ca81694
commit 5c54b184ea
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -465,7 +465,7 @@ public final class PacketCustom implements MCDataInput, MCDataOutput
short fluidID = readShort();
if (fluidID >= 0)
fluid = new FluidStack(fluidID, readInt(), readNBTTagCompound());
fluid = new FluidStack(fluidID, readVarInt(), readNBTTagCompound());
return fluid;
}