Add warning about missing "plains" biome

This commit is contained in:
Ryan 2022-10-22 14:01:25 -07:00
parent b08a0a6845
commit c683a0d94c

View file

@ -157,6 +157,13 @@ pub(crate) fn validate_biomes(biomes: &[Biome]) -> anyhow::Result<()> {
);
}
if !names.contains(&ident!("plains")) {
log::warn!(
"A biome named \"plains\" is missing from the biome registry! Due to a bug in the \
vanilla client, players may not be able to join the game!"
);
}
Ok(())
}