OptiFine entity models: let the chest arm auto-deref its shapes (clippy)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
some-du6eandClaude Opus 5.5 committed 2026-11-01 17:41:20 -06:00
1 parent c3911b7608
commit a2f0a5baa8
1 file changed
+2 -2
@@ -1441,9 +1441,9 @@ impl BlockEntityRenderer {
// them; copper chests have no CEM name and draw vanilla's chest.
let shapes: &BlockEntityShapes =
if matches!(block.as_str(), "chest" | "trapped_chest" | "ender_chest") {
&*shapes
&shapes
} else {
&*self.vanilla
&self.vanilla
};
let (own, chest) = match (block.as_str(), part) {
("trapped_chest", ChestPart::Single) => ("trapped_chest", "chest"),