Thanks Lex! Closes #319

This commit is contained in:
md_5 2013-05-15 18:59:13 +10:00
parent 539fccb873
commit 9f3359f8fa

View File

@ -269,7 +269,8 @@ public class ServerConnector extends PacketHandler
{ {
ByteArrayDataInput in = ByteStreams.newDataInput( pluginMessage.data ); ByteArrayDataInput in = ByteStreams.newDataInput( pluginMessage.data );
in.readUnsignedByte(); in.readUnsignedByte();
for ( int i = 0; i < in.readInt(); i++ ) int count = in.readInt();
for ( int i = 0; i < count; i++ )
{ {
in.readUTF(); in.readUTF();
} }