FriendAddRequest packet fix.
Author: rocknowx Source: https://forums.l2junity.org/index.php?topic=203.0#forum Contributed by gigilo1968.
This commit is contained in:
@@ -36,7 +36,8 @@ public final class RequestAnswerFriendInvite implements IClientIncomingPacket
|
||||
@Override
|
||||
public boolean read(L2GameClient client, PacketReader packet)
|
||||
{
|
||||
_response = packet.readC();
|
||||
packet.readC();
|
||||
_response = packet.readD();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@@ -36,8 +36,8 @@ public class FriendAddRequest implements IClientOutgoingPacket
|
||||
{
|
||||
OutgoingPackets.FRIEND_ADD_REQUEST.writeId(packet);
|
||||
|
||||
packet.writeC(0x01);
|
||||
packet.writeS(_requestorName);
|
||||
packet.writeD(0x00);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user