From a3e277603ba12a561df9c41d1b411e973a35bf26 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Sat, 18 Dec 2021 17:02:29 +0900 Subject: - Fix Typo in pathfinder --- src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java b/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java index 37d28e75..c8ae3a81 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java @@ -238,7 +238,7 @@ public class JPSPathfinder { } if (dungeonRoom.isBlocked(x,y-dy,z)) { nexts.add(openNode(x,y-dy,nz)); - nexts.add(openNode(nx,y-dy,nz)); + nexts.add(openNode(nx,y-dy,z)); nexts.add(openNode(nx,y-dy,nz)); } } -- cgit