public void handlePacket(Packet p, IoSession session) throws Exception {
long sender = p.readLong();
Player recipient = world.getPlayer(p.readLong());
boolean avoidBlock = p.readByte() == 1;
if (recipient == null || !recipient.loggedIn()) {
return;
}
if (recipient.getPrivacySetting(1) && !recipient.isFriendsWith(sender)
&& !avoidBlock) {
return;