feather-rs / feather

A Minecraft server implementation in Rust
Apache License 2.0
2.58k stars 142 forks source link

Fix `LevelData::generator_type` function #515

Closed FussballAndy closed 2 years ago

FussballAndy commented 2 years ago

Fix LevelData::generator_type function

Status

Description

Fix LevelData::generator_type by making it so that LevelGeneratorType::LargeBiomes can also be returned as this was not possible before due to the string literal being lowercased.

Related issues

Checklist

Note: if you locally don't get any errors, but GitHub Actions fails (especially at clippy) you might want to check your rust toolchain version. You can then feel free to fix these warnings/errors in your PR.