mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
Fixed Issue 339.
This commit is contained in:
parent
cdc45d99f9
commit
e97d655bd1
1 changed files with 3 additions and 1 deletions
|
|
@ -92,7 +92,9 @@ public class ServerMessagesUtil {
|
|||
List<String> motdMessages = readFromFile();
|
||||
List<String> newMessages = new ArrayList<String>();
|
||||
newMessages.add(getServerStatistics());
|
||||
newMessages.addAll(motdMessages);
|
||||
if (motdMessages != null) {
|
||||
newMessages.addAll(motdMessages);
|
||||
}
|
||||
|
||||
lock.writeLock().lock();
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue