From 4cdd6e46fcdff39e8924f81f37fcfb4575fb3ffd Mon Sep 17 00:00:00 2001 From: syeyoung Date: Mon, 15 Feb 2021 01:58:32 +0900 Subject: tweaks to pathfinding --- src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMove.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionMove.java') 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); } } -- cgit