aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/src/pathfinder/mod.rs')
-rw-r--r--azalea/src/pathfinder/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs
index d62b3e05..9fd9fe90 100644
--- a/azalea/src/pathfinder/mod.rs
+++ b/azalea/src/pathfinder/mod.rs
@@ -77,7 +77,7 @@ impl Trait for azalea_client::Client {
let dimension = self.dimension.read();
for possible_move in possible_moves.iter() {
edges.push(Edge {
- target: possible_move.next_node(&node),
+ target: possible_move.next_node(node),
cost: possible_move.cost(&dimension, node),
});
}