Use motd from config
This commit is contained in:
parent
08139a2ec7
commit
9b760eb58f
@ -1,4 +1,4 @@
|
||||
favicon = "server-icon.png"
|
||||
max_players = 20
|
||||
motd = "Composition MOTD"
|
||||
motd = "Hello world!"
|
||||
port = 25565
|
||||
|
@ -120,7 +120,7 @@ impl Server {
|
||||
max_players: CONFIG.max_players,
|
||||
current_players,
|
||||
description: json!({
|
||||
"text": "Hello world!"
|
||||
"text": CONFIG.motd
|
||||
}),
|
||||
})
|
||||
.await;
|
||||
|
Loading…
x
Reference in New Issue
Block a user