diff --git a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAnnouncements.java b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAnnouncements.java
index b99005c6dc..ba1a4ae079 100644
--- a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAnnouncements.java
+++ b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAnnouncements.java
@@ -261,7 +261,7 @@ public class AdminAnnouncements implements IAdminCommandHandler
player.sendPacket(adminReply);
}
- public void listAutoAnnouncements(PlayerInstance player)
+ private void listAutoAnnouncements(PlayerInstance player)
{
final String content = HtmCache.getInstance().getHtmForce("data/html/admin/announce_auto.htm");
final NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
@@ -272,7 +272,7 @@ public class AdminAnnouncements implements IAdminCommandHandler
final IAnnouncement announcement = entry.getValue();
if ((announcement.getType() == AnnouncementType.AUTO_CRITICAL) || (announcement.getType() == AnnouncementType.AUTO_NORMAL))
{
- replyMSG.append("
[" + entry.getKey() + " (" + ((AutoAnnouncement) announcement).getDelay() + ")] " + announcement.getContent() + " | ");
+ replyMSG.append("[" + entry.getKey() + " (" + ((AutoAnnouncement) announcement).getDelay() + "s)] " + announcement.getContent() + " | ");
replyMSG.append(" | ");
}
}
diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAnnouncements.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAnnouncements.java
index b99005c6dc..ba1a4ae079 100644
--- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAnnouncements.java
+++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminAnnouncements.java
@@ -261,7 +261,7 @@ public class AdminAnnouncements implements IAdminCommandHandler
player.sendPacket(adminReply);
}
- public void listAutoAnnouncements(PlayerInstance player)
+ private void listAutoAnnouncements(PlayerInstance player)
{
final String content = HtmCache.getInstance().getHtmForce("data/html/admin/announce_auto.htm");
final NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
@@ -272,7 +272,7 @@ public class AdminAnnouncements implements IAdminCommandHandler
final IAnnouncement announcement = entry.getValue();
if ((announcement.getType() == AnnouncementType.AUTO_CRITICAL) || (announcement.getType() == AnnouncementType.AUTO_NORMAL))
{
- replyMSG.append("[" + entry.getKey() + " (" + ((AutoAnnouncement) announcement).getDelay() + ")] " + announcement.getContent() + " | ");
+ replyMSG.append("[" + entry.getKey() + " (" + ((AutoAnnouncement) announcement).getDelay() + "s)] " + announcement.getContent() + " | ");
replyMSG.append(" | ");
}
}
|
|