mob desync issue
This commit is contained in:
1 parent
b33f451285
commit
bb4c1d48a4
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user