diff options
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java b/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java index 8e989855..37d28e75 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,x)); + nexts.add(openNode(nx,y-dy,nz)); nexts.add(openNode(nx,y-dy,nz)); } } |