Fix plugin-sourced movement walking the player to the same tile as the NPC/Player/etc
This commit is contained in:
@@ -182,6 +182,9 @@ public abstract class MovementPulse extends Pulse {
|
||||
this.pathfinder = pathfinder;
|
||||
}
|
||||
this.forceRun = forceRun;
|
||||
|
||||
if (destination instanceof NPC || destination instanceof Player)
|
||||
destinationFlag = DestinationFlag.ENTITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user