Fix clippy lint in item modifier sequence

The sequence loot function folds over an Option accumulator, which clippy flags as a manual try_fold. The fold is intentional, so allow the lint there.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-10 09:57:38 +02:00
parent f0d33d3cf8
commit a08f6c7c7a
@@ -358,6 +358,7 @@ impl Game<'_> {
}
match m["function"].as_str().unwrap_or("") {
"minecraft:sequence" => {
#[allow(clippy::manual_try_fold)]
return m["functions"]
.as_array()
.into_iter()