Default repeat value is -1.

This commit is contained in:
MobiusDevelopment
2021-04-24 12:58:30 +00:00
parent e43087f9cd
commit cfbd818b04
2 changed files with 2 additions and 2 deletions

View File

@@ -188,7 +188,7 @@ public class AdminAnnouncements implements IAdminCommandHandler
{
text = text + " " + st.nextToken();
}
AnnouncementsTable.getInstance().addAnnouncement(new AutoAnnouncement(AnnouncementType.AUTO_NORMAL, text, activeChar.getName(), 0, delay, delay));
AnnouncementsTable.getInstance().addAnnouncement(new AutoAnnouncement(AnnouncementType.AUTO_NORMAL, text, activeChar.getName(), 0, delay, -1));
listAutoAnnouncements(activeChar);
return true;
}