Sync with L2JServer Jan 26th 2015.
This commit is contained in:
@@ -322,7 +322,9 @@ public final class UseItem extends L2GameClientPacket
|
||||
{
|
||||
if (!item.isEquipped() && (activeChar.getInventory().getBroochJewelSlots() == 0))
|
||||
{
|
||||
activeChar.sendPacket(SystemMessageId.YOU_CANNOT_EQUIP_S1_WITHOUT_EQUIPPING_A_BROOCH);
|
||||
final SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.YOU_CANNOT_EQUIP_S1_WITHOUT_EQUIPPING_A_BROOCH);
|
||||
sm.addItemName(item);
|
||||
activeChar.sendPacket(sm);
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
@@ -85,7 +85,7 @@ public class ConfirmMenteeAdd extends L2GameClientPacket
|
||||
MentorManager.getInstance().addMentor(mentor.getObjectId(), mentee.getObjectId());
|
||||
|
||||
// Notify to scripts
|
||||
EventDispatcher.getInstance().notifyEventAsync(new OnPlayerMenteeAdd(mentor, mentee), mentee);
|
||||
EventDispatcher.getInstance().notifyEventAsync(new OnPlayerMenteeAdd(mentor, mentee), mentor);
|
||||
|
||||
mentor.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.FROM_NOW_ON_S1_WILL_BE_YOUR_MENTEE).addCharName(mentee));
|
||||
mentor.sendPacket(new ExMentorList(mentor));
|
||||
|
Reference in New Issue
Block a user