mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Displaying server uptime message at the last (otherwise it is hard to inform players about anything).
This commit is contained in:
parent
db42295314
commit
b52a0f1c2c
1 changed files with 1 additions and 1 deletions
|
@ -97,10 +97,10 @@ public class ServerMessagesUtil {
|
|||
log.debug("Reading server messages...");
|
||||
List<String> motdMessages = readFromFile();
|
||||
List<String> newMessages = new ArrayList<String>();
|
||||
newMessages.add(getServerStatistics());
|
||||
if (motdMessages != null) {
|
||||
newMessages.addAll(motdMessages);
|
||||
}
|
||||
newMessages.add(getServerStatistics());
|
||||
|
||||
lock.writeLock().lock();
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue