aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2021-11-28 16:25:04 +0900
committersyeyoung <cyoung06@naver.com>2021-11-28 16:25:04 +0900
commitc2fb88c978fb2c4662d9bdde2b72192050977e48 (patch)
tree851b74d5b87a60072b005de72c0a20dd8902e12c /src
parentb6f108b8592c3b676dd0c841b7efd6f315b39910 (diff)
downloadSkyblock-Dungeons-Guide-c2fb88c978fb2c4662d9bdde2b72192050977e48.tar.gz
Skyblock-Dungeons-Guide-c2fb88c978fb2c4662d9bdde2b72192050977e48.tar.bz2
Skyblock-Dungeons-Guide-c2fb88c978fb2c4662d9bdde2b72192050977e48.zip
- Typo in pathfinder
Diffstat (limited to 'src')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java2
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));
}
}