mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 00:47:50 +00:00
Reverted distance check for clearing path entity.
This commit is contained in:
1 parent
02f663f85f
commit
502cde0068
1 file changed
+1
-1
@@ -263,7 +263,7 @@ public class PathNavigateFlying extends PathNavigate {
|
||||
|
||||
if (this.totalTicks - this.ticksAtLastPos > 100)
|
||||
{
|
||||
if (vec3.squareDistanceTo(this.lastPosCheck) < this.speed/2)
|
||||
if (vec3.squareDistanceTo(this.lastPosCheck) < 2.25D)
|
||||
{
|
||||
this.clearPathEntity();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user