lan_attributes: read items through Resources::items() after #878

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-18 18:36:16 +02:00
parent 453ef077f4
commit 80dacdba68
@@ -53,7 +53,7 @@ impl Game<'_> {
out: &mut Vec<AttributeSnapshot>,
) {
for (slot, item) in slots {
let Some(info) = item.and_then(|i| self.res.items.get(i)) else {
let Some(info) = item.and_then(|i| self.res.items().get(i)) else {
continue;
};
for (attribute, id, amount, op, group) in &info.modifiers {