Removed birthday enterworld message.

This commit is contained in:
MobiusDevelopment
2021-11-11 23:43:38 +00:00
parent e49081fdb2
commit d4be2f5d26
10 changed files with 0 additions and 130 deletions

View File

@ -565,19 +565,6 @@ public class EnterWorld implements IClientIncomingPacket
player.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT, Config.WELCOME_MESSAGE_TIME));
}
final int birthday = player.checkBirthDay();
if (birthday == 0)
{
player.sendPacket(SystemMessageId.HAPPY_BIRTHDAY_ALEGRIA_HAS_SENT_YOU_A_BIRTHDAY_GIFT);
// player.sendPacket(new ExBirthdayPopup()); Removed in H5?
}
else if (birthday != -1)
{
sm = new SystemMessage(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));
player.sendPacket(sm);
}
if (!player.getPremiumItemList().isEmpty())
{
player.sendPacket(ExNotifyPremiumItem.STATIC_PACKET);