small adjustment

This commit is contained in:
KAMKEEL committed 2022-11-07 17:07:35 -05:00
1 parent 054f4d85ee
commit 88b7c43af0
1 file changed
+1 -1
@@ -393,7 +393,7 @@ public class FlyPathFinder extends PathFinder
if (f >= 0.0F)
{
pathpoint = openPoint(x, y, z, x);
pathpoint = this.openPoint(x, y, z, 0);
pathpoint.nodeType = pathnodetype;
pathpoint.costMalus = Math.max(pathpoint.costMalus, f);