Pathfinder fails when cyrried object is impassable
GregorKopka opened this issue · comments
Having an object carried which would normally block the player (like a winepress) the pathfinder will fail (get stuck at first node), i guess this is caused because isPathFree() will always return false since it detects the gob of the carried item.
Solution could be to test if the position of the gob is the same as the players.
So something like
if (my == gob.position())
continue;
inserted to the checks at
hnh_union/src/union/APXUtils.java
Line 706 in 1dc0677
could do the trick.
Nevermind, i found a workaround in case it is stuck.
Hm thx for reporting this bug. I'm not playing hnh any more and not developing this client, but this may be important for forks :)