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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user