176177178179180181182183
// цель существует и не против принять почту MailParcelController.getInstance().sendLetter(letter, _attItems, _attItemsQ, cha); cha.sendPacket(new ExReplyWritePost(1)); if(target != null) { target.sendPacket(new ExNoticePostArrived(1)); } }
491492493494495496497498
private void checkNewMail(L2Player activeChar) { if(mysql.simple_get_int("messageId", "mail", "unread AND receiver=" + activeChar.getObjectId()) > 0) { sendPacket(new ExNoticePostArrived(0)); } }