Displaying server uptime message at the last (otherwise it is hard to inform players about anything).

This commit is contained in:
magenoxx 2012-01-30 20:33:22 +04:00
parent db42295314
commit b52a0f1c2c

View file

@ -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 {