fix "this server has mods" not being displayed
on 1.16 forge servers
This commit is contained in:
parent
6db20e631b
commit
e4ea9b57ec
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ async fn main() -> Result<()> {
|
|||
// region printing
|
||||
// if the server has mods, and the user hasn't used the -m argument, notify
|
||||
// that.
|
||||
if let (false, Some(_)) = (matches.is_present("mods"), &response.modinfo) {
|
||||
if let (false, Some(_)) = (matches.is_present("mods"), response.forge_mod_info()) {
|
||||
println!("This server has mods. To show them use the -m argument\n")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue