summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/partyrecv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/partyrecv.cpp b/src/net/eathena/partyrecv.cpp
index 9ce0dbdce..a0019807e 100644
--- a/src/net/eathena/partyrecv.cpp
+++ b/src/net/eathena/partyrecv.cpp
@@ -256,7 +256,7 @@ void PartyRecv::processPartyInfo(Net::MessageIn &msg)
}
}
- if (msg.getVersion() >= 20170502)
+ if (msg.getVersion() >= 20170502 && msg.getUnreadLength() >= 6)
{
msg.readInt8("pickup item share (&1)");
msg.readInt8("get item share (&2)");