diff options
author | syeyoung <cyong06@naver.com> | 2021-04-17 22:11:03 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-04-17 22:11:03 +0900 |
commit | 23d82b22e5dc9743483cf3ebde848a2c19d9606a (patch) | |
tree | 8aecf67d3a84d2ed958965a83d08b5173a6ac018 /src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMoveNearestAir.java | |
parent | 57c8cb923c68ccc6fe0448ccb15f62de2f014019 (diff) | |
download | Skyblock-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-x | src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMoveNearestAir.java | 2 |
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); } |