From c683a0d94c1c5144d861338e522f7ffc4f407002 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 22 Oct 2022 14:01:25 -0700 Subject: [PATCH] Add warning about missing "plains" biome --- src/biome.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/biome.rs b/src/biome.rs index 882aa9a..8be59a5 100644 --- a/src/biome.rs +++ b/src/biome.rs @@ -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(()) }