[Classic] Remove birthday message from EnterWorld.
This commit is contained in:
parent
1caed5558c
commit
58ad4afd8c
@ -610,17 +610,20 @@ public class EnterWorld extends L2GameClientPacket
|
||||
|
||||
L2ClassMasterInstance.showQuestionMark(activeChar);
|
||||
|
||||
int birthday = activeChar.checkBirthDay();
|
||||
if (birthday == 0)
|
||||
if (!Config.SERVER_CLASSIC_SUPPORT)
|
||||
{
|
||||
activeChar.sendPacket(SystemMessageId.HAPPY_BIRTHDAY_ALEGRIA_HAS_SENT_YOU_A_BIRTHDAY_GIFT);
|
||||
// activeChar.sendPacket(new ExBirthdayPopup()); Removed in H5?
|
||||
}
|
||||
else if (birthday != -1)
|
||||
{
|
||||
sm = SystemMessage.getSystemMessage(SystemMessageId.THERE_ARE_S1_DAYS_REMAINING_UNTIL_YOUR_BIRTHDAY_ON_YOUR_BIRTHDAY_YOU_WILL_RECEIVE_A_GIFT_THAT_ALEGRIA_HAS_CAREFULLY_PREPARED);
|
||||
sm.addString(Integer.toString(birthday));
|
||||
activeChar.sendPacket(sm);
|
||||
int birthday = activeChar.checkBirthDay();
|
||||
if (birthday == 0)
|
||||
{
|
||||
activeChar.sendPacket(SystemMessageId.HAPPY_BIRTHDAY_ALEGRIA_HAS_SENT_YOU_A_BIRTHDAY_GIFT);
|
||||
// activeChar.sendPacket(new ExBirthdayPopup()); Removed in H5?
|
||||
}
|
||||
else if (birthday != -1)
|
||||
{
|
||||
sm = SystemMessage.getSystemMessage(SystemMessageId.THERE_ARE_S1_DAYS_REMAINING_UNTIL_YOUR_BIRTHDAY_ON_YOUR_BIRTHDAY_YOU_WILL_RECEIVE_A_GIFT_THAT_ALEGRIA_HAS_CAREFULLY_PREPARED);
|
||||
sm.addString(Integer.toString(birthday));
|
||||
activeChar.sendPacket(sm);
|
||||
}
|
||||
}
|
||||
|
||||
if (!activeChar.getPremiumItemList().isEmpty())
|
||||
|
Loading…
Reference in New Issue
Block a user