diff options
Diffstat (limited to 'Minecraft.World/AwardStatPacket.cpp')
| -rw-r--r-- | Minecraft.World/AwardStatPacket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/AwardStatPacket.cpp b/Minecraft.World/AwardStatPacket.cpp index b2950a0e..07888541 100644 --- a/Minecraft.World/AwardStatPacket.cpp +++ b/Minecraft.World/AwardStatPacket.cpp @@ -47,7 +47,7 @@ void AwardStatPacket::read(DataInputStream *dis) //throws IOException // Read parameter blob. int length = dis->readInt(); - if (length > 0 && length <= 65536) + if(length > 0) { m_paramData = byteArray(length); dis->readFully(m_paramData); |
