aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMoveNearestAir.java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-04-17 22:11:03 +0900
committersyeyoung <cyong06@naver.com>2021-04-17 22:11:03 +0900
commit23d82b22e5dc9743483cf3ebde848a2c19d9606a (patch)
tree8aecf67d3a84d2ed958965a83d08b5173a6ac018 /src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMoveNearestAir.java
parent57c8cb923c68ccc6fe0448ccb15f62de2f014019 (diff)
downloadSkyblock-Dungeons-Guide-23d82b22e5dc9743483cf3ebde848a2c19d9606a.tar.gz
Skyblock-Dungeons-Guide-23d82b22e5dc9743483cf3ebde848a2c19d9606a.tar.bz2
Skyblock-Dungeons-Guide-23d82b22e5dc9743483cf3ebde848a2c19d9606a.zip
ok great
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMoveNearestAir.java')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMoveNearestAir.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMoveNearestAir.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMoveNearestAir.java
index ef4e9062..3c2131ee 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMoveNearestAir.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMoveNearestAir.java
@@ -74,7 +74,7 @@ public class ActionMoveNearestAir extends AbstractAction {
try {
if (latestFuture != null) latestFuture.cancel(true);
} catch (Exception ignored) {}
- if (!FeatureRegistry.SECRET_FREEZE_LINES.isEnabled())
+ if (!FeatureRegistry.SECRET_FREEZE_LINES.isEnabled()|| poses == null)
latestFuture = dungeonRoom.createEntityPathTo(dungeonRoom.getContext().getWorld(),
Minecraft.getMinecraft().thePlayer, target.getBlockPos(dungeonRoom), Integer.MAX_VALUE);
}