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
[x] Ran cargo fmt, cargo clippy --all-targets, cargo build --release and cargo test and fixed any generated errors!
[x] Removed unnecessary commented out code
[x] Used specific traces (if you trace actions please specify the cause i.e. the player)
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.
Fix
LevelData::generator_type
functionStatus
Description
Fix
LevelData::generator_type
by making it so thatLevelGeneratorType::LargeBiomes
can also be returned as this was not possible before due to the string literal being lowercased.Related issues
Checklist
cargo fmt
,cargo clippy --all-targets
,cargo build --release
andcargo test
and fixed any generated errors!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.