aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/pathfinding
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2021-10-02 16:24:43 +0900
committersyeyoung <cyoung06@naver.com>2021-10-02 16:24:43 +0900
commit5469f3041832885ccf33b5b1d9959d610e1bd6c2 (patch)
treef43a7ecbddf7ac63d03f0d3a3bcae8af2aaa0633 /src/main/java/kr/syeyoung/dungeonsguide/pathfinding
parent0ed047c0944ae2b4c519d628d4159a0ece547745 (diff)
downloadSkyblock-Dungeons-Guide-5469f3041832885ccf33b5b1d9959d610e1bd6c2.tar.gz
Skyblock-Dungeons-Guide-5469f3041832885ccf33b5b1d9959d610e1bd6c2.tar.bz2
Skyblock-Dungeons-Guide-5469f3041832885ccf33b5b1d9959d610e1bd6c2.zip
- Added FeatureCreateRefreshLine
- PathfindLineProperties now has parent to it
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/pathfinding')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java3
1 files changed, 2 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 3d3e5f2a..f3f058a7 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/JPSPathfinder.java
@@ -324,7 +324,8 @@ public class JPSPathfinder {
Block b = iblockstate1.getBlock();
if (!b.getMaterial().blocksMovement())continue;
if (b.isFullCube() && i2 == k-1) continue;
- if (b.isFullCube() && !iblockstate1.equals( NodeProcessorDungeonRoom.preBuilt)) {
+ if (iblockstate1.equals( NodeProcessorDungeonRoom.preBuilt)) continue;
+ if (b.isFullCube()) {
theBit |= (3L << bitStart);
arr[location] = theBit;
return true;