|
|
|
@ -871,7 +871,8 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -871,7 +871,8 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
|
|
|
|
|
Vector3fImmutable newLoc = this.getMovementLoc(); |
|
|
|
|
|
|
|
|
|
if (newLoc.equals(this.getEndLoc())) { |
|
|
|
|
//if (newLoc.equals(this.getEndLoc())) {
|
|
|
|
|
if(newLoc.distanceSquared(this.getEndLoc()) < 4){ |
|
|
|
|
this.stopMovement(newLoc); |
|
|
|
|
this.region = AbstractWorldObject.GetRegionByWorldObject(this); |
|
|
|
|
return; |
|
|
|
|