Code style changes.
This commit is contained in:
@ -172,7 +172,7 @@ public final class AutoAnnouncement extends Announcement implements Runnable
|
||||
}
|
||||
for (String content : getContent().split(Config.EOL))
|
||||
{
|
||||
Broadcast.toAllOnlinePlayers(content, (getType() == AnnouncementType.AUTO_CRITICAL));
|
||||
Broadcast.toAllOnlinePlayers(content, getType() == AnnouncementType.AUTO_CRITICAL);
|
||||
}
|
||||
if (_currentState != -1)
|
||||
{
|
||||
|
@ -25,19 +25,19 @@ import com.l2jmobius.gameserver.model.interfaces.IUpdatable;
|
||||
*/
|
||||
public interface IAnnouncement extends IStorable, IUpdatable, IDeletable
|
||||
{
|
||||
public int getId();
|
||||
int getId();
|
||||
|
||||
public AnnouncementType getType();
|
||||
AnnouncementType getType();
|
||||
|
||||
public void setType(AnnouncementType type);
|
||||
void setType(AnnouncementType type);
|
||||
|
||||
public boolean isValid();
|
||||
boolean isValid();
|
||||
|
||||
public String getContent();
|
||||
String getContent();
|
||||
|
||||
public void setContent(String content);
|
||||
void setContent(String content);
|
||||
|
||||
public String getAuthor();
|
||||
String getAuthor();
|
||||
|
||||
public void setAuthor(String author);
|
||||
void setAuthor(String author);
|
||||
}
|
||||
|
Reference in New Issue
Block a user