|
if let Some(part) = ecs.read_storage::<SpawnParticleLine>().get(entity) { |
The code referenced here is wrong, the text mentions the next line (where the reader is supposed to pass the new argument creator to find_item_position):
if let Some(start_pos) = targeting::find_item_position(ecs, entity, creator) {