Scheduled server restart improvements.

This commit is contained in:
MobiusDev
2016-04-30 08:37:44 +00:00
parent e43016c459
commit e229e4240b
5 changed files with 27 additions and 29 deletions

View File

@ -505,7 +505,7 @@ public class EnterWorld extends L2GameClientPacket
AnnouncementsTable.getInstance().showAnnouncements(activeChar);
if ((Config.SERVER_RESTART_SCHEDULE) && (Config.SERVER_RESTART_SCHEDULE_MESSAGE))
if ((Config.SERVER_RESTART_SCHEDULE_ENABLED) && (Config.SERVER_RESTART_SCHEDULE_MESSAGE))
{
activeChar.sendPacket(new CreatureSay(2, ChatType.BATTLEFIELD, "[SERVER]", "Next restart is scheduled at " + ServerRestartManager.getInstance().getNextRestartTime() + "."));
}