mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 22:41:30 +11:00
Add warning about missing "plains" biome
This commit is contained in:
parent
b08a0a6845
commit
c683a0d94c
|
@ -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(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue