Fix plugin-sourced movement walking the player to the same tile as the NPC/Player/etc

This commit is contained in:
Ceikry
2023-07-30 19:38:49 +00:00
parent d76b99c77a
commit aa038882e8
5 changed files with 222 additions and 200 deletions
@@ -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