mirror of
https://github.com/LordMZTE/mcstat.git
synced 2024-04-27 11:28:37 +02:00
fix "this server has mods" not being displayed
on 1.16 forge servers
This commit is contained in:
parent
6db20e631b
commit
e4ea9b57ec
|
@ -107,7 +107,7 @@ async fn main() -> Result<()> {
|
||||||
// region printing
|
// region printing
|
||||||
// if the server has mods, and the user hasn't used the -m argument, notify
|
// if the server has mods, and the user hasn't used the -m argument, notify
|
||||||
// that.
|
// 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")
|
println!("This server has mods. To show them use the -m argument\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue