aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyeyoung <cyougn06@naver.com>2021-12-18 17:02:29 +0900
committersyeyoung <cyougn06@naver.com>2021-12-18 17:02:29 +0900
commita3e277603ba12a561df9c41d1b411e973a35bf26 (patch)
tree7381518d41aa029bc7036a6bcfae8743a28597d2 /src
parent8d2ce1c1ae54736725a65dc8ca4066c959055814 (diff)
downloadSkyblock-Dungeons-Guide-a3e277603ba12a561df9c41d1b411e973a35bf26.tar.gz
Skyblock-Dungeons-Guide-a3e277603ba12a561df9c41d1b411e973a35bf26.tar.bz2
Skyblock-Dungeons-Guide-a3e277603ba12a561df9c41d1b411e973a35bf26.zip
- Fix 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 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));
}
}