aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMove.java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-02-15 01:58:32 +0900
committersyeyoung <cyong06@naver.com>2021-02-15 01:58:32 +0900
commit4cdd6e46fcdff39e8924f81f37fcfb4575fb3ffd (patch)
tree9e9a55b010154ebd67d929da188841acb2d06b26 /src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMove.java
parentbefa8982a0a8d929e65a23b66040671a45181ef4 (diff)
downloadSkyblock-Dungeons-Guide-4cdd6e46fcdff39e8924f81f37fcfb4575fb3ffd.tar.gz
Skyblock-Dungeons-Guide-4cdd6e46fcdff39e8924f81f37fcfb4575fb3ffd.tar.bz2
Skyblock-Dungeons-Guide-4cdd6e46fcdff39e8924f81f37fcfb4575fb3ffd.zip
tweaks to pathfinding
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMove.java')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMove.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMove.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMove.java
index 5079f4c9..2fc86b8e 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMove.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMove.java
@@ -64,7 +64,7 @@ public class ActionMove extends AbstractAction {
tick = (tick+1) % 10;
if (tick == 0) {
latest = dungeonRoom.getPathFinder().createEntityPathTo(dungeonRoom.getContext().getWorld(),
- Minecraft.getMinecraft().thePlayer, target.getBlockPos(dungeonRoom), 100);
+ Minecraft.getMinecraft().thePlayer, target.getBlockPos(dungeonRoom), Integer.MAX_VALUE);
}
}