Connecting to a Glowstone server, snapshot version glowstone-2021.1.0-20210116.193733-27.jar, shows "Channel dropped" in the server list and panics upon connect, with the same message:
thread 'main' panicked at 'Unrecognized modinfo type in server ping response: "VANILLA" in {"modList":[],"type":"VANILLA"}', protocol/src/protocol/mod.rs:1246:21
protocol/src/protocol/mod.rs
if let Some(modinfo) = val.get("modinfo") {
if let Some(modinfo_type) = modinfo.get("type") {
if modinfo_type == "FML" {
...
} else {
panic!(
"Unrecognized modinfo type in server ping response: {} in {}",
modinfo_type, modinfo
);
val is:
Object({"description": Object({"text": String("A Glowstone server")}), "modinfo": Object({"modList": Array([]), "type": String("VANILLA")}), "players": Object({"max": Number(20), "online": Number(0), "sample": Array([])}), "version": Object({"name": String("1.12.2"), "protocol": Number(340)})})
Connecting to a Glowstone server, snapshot version glowstone-2021.1.0-20210116.193733-27.jar, shows "Channel dropped" in the server list and panics upon connect, with the same message:
protocol/src/protocol/mod.rs
valis:Object({"description": Object({"text": String("A Glowstone server")}), "modinfo": Object({"modList": Array([]), "type": String("VANILLA")}), "players": Object({"max": Number(20), "online": Number(0), "sample": Array([])}), "version": Object({"name": String("1.12.2"), "protocol": Number(340)})})