Default repeat value is -1.
This commit is contained in:
@@ -188,7 +188,7 @@ public class AdminAnnouncements implements IAdminCommandHandler
|
|||||||
{
|
{
|
||||||
text = text + " " + st.nextToken();
|
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);
|
listAutoAnnouncements(activeChar);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -188,7 +188,7 @@ public class AdminAnnouncements implements IAdminCommandHandler
|
|||||||
{
|
{
|
||||||
text = text + " " + st.nextToken();
|
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);
|
listAutoAnnouncements(activeChar);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user